aboutsummaryrefslogtreecommitdiff
path: root/paludis/broken_linkage_finder.cc
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2010-08-17 23:13:26 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2010-08-17 23:13:26 +0100
commitfd97abd6755edd293b7c28fbdfdc06bff5b58ab0 (patch)
treef3b925c6cfc8ccce39cd83f8be16ea123b2272bd /paludis/broken_linkage_finder.cc
parentcb75f47b4cb9e01cffe10037dfbd3e5955d882d3 (diff)
downloadpaludis-fd97abd6755edd293b7c28fbdfdc06bff5b58ab0.tar.gz
paludis-fd97abd6755edd293b7c28fbdfdc06bff5b58ab0.tar.xz
Fix epic fail
Diffstat (limited to 'paludis/broken_linkage_finder.cc')
-rw-r--r--paludis/broken_linkage_finder.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/paludis/broken_linkage_finder.cc b/paludis/broken_linkage_finder.cc
index 0c21739c3..9d39c5ed1 100644
--- a/paludis/broken_linkage_finder.cc
+++ b/paludis/broken_linkage_finder.cc
@@ -146,8 +146,7 @@ BrokenLinkageFinder::BrokenLinkageFinder(const Environment * env, const std::sha
Context ctx("When checking for broken linkage in '" + stringify(env->preferred_root_key()->value()) + "':");
- for (auto i(libraries->begin()), i_end(libraries->end()) ; i != i_end ; ++i)
- _imp->checkers.push_back(std::shared_ptr<LinkageChecker>(std::make_shared<ElfLinkageChecker>(env->preferred_root_key()->value(), *i)));
+ _imp->checkers.push_back(std::shared_ptr<LinkageChecker>(std::make_shared<ElfLinkageChecker>(env->preferred_root_key()->value(), libraries)));
if (libraries->empty())
_imp->checkers.push_back(std::shared_ptr<LinkageChecker>(std::make_shared<LibtoolLinkageChecker>(env->preferred_root_key()->value())));