aboutsummaryrefslogtreecommitdiff
path: root/paludis/filter.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-27 23:54:51 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-01 03:57:52 +0000
commit97c38fc7c02260a2d213d9a16d878a0410b9d57a (patch)
treefef7c8137e22b2582acb3b66496ced9aa4135897 /paludis/filter.cc
parenta1b11d059009182f19bf9cf23e060dee752d4632 (diff)
downloadpaludis-97c38fc7c02260a2d213d9a16d878a0410b9d57a.tar.gz
paludis-97c38fc7c02260a2d213d9a16d878a0410b9d57a.tar.xz
Pass PackageIDs by shared_ptr
Diffstat (limited to 'paludis/filter.cc')
-rw-r--r--paludis/filter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/filter.cc b/paludis/filter.cc
index 367fab4fa..ecf4b2385 100644
--- a/paludis/filter.cc
+++ b/paludis/filter.cc
@@ -411,7 +411,7 @@ namespace
for (PackageIDSet::ConstIterator i(id->begin()), i_end(id->end()) ;
i != i_end ; ++i)
{
- if (match_package(*env, spec, **i, options))
+ if (match_package(*env, spec, *i, options))
result->insert(*i);
}