aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/prefer_or_avoid_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/resolver/prefer_or_avoid_helper.cc')
-rw-r--r--paludis/resolver/prefer_or_avoid_helper.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/paludis/resolver/prefer_or_avoid_helper.cc b/paludis/resolver/prefer_or_avoid_helper.cc
index 1cfa1d94b..318dfff39 100644
--- a/paludis/resolver/prefer_or_avoid_helper.cc
+++ b/paludis/resolver/prefer_or_avoid_helper.cc
@@ -21,7 +21,6 @@
#include <paludis/util/pimp-impl.hh>
#include <paludis/util/hashes.hh>
#include <paludis/util/tribool.hh>
-#include <paludis/util/make_null_shared_ptr.hh>
#include <paludis/util/options.hh>
#include <paludis/name.hh>
#include <paludis/dep_spec.hh>
@@ -98,7 +97,7 @@ PreferOrAvoidHelper::operator() (const PackageDepSpec & s) const
{
bool all(true);
for (auto q((*p)->begin()), q_end((*p)->end()) ; q != q_end ; ++q)
- if (! match_package(*_imp->env, s, *q, make_null_shared_ptr(), { }))
+ if (! match_package(*_imp->env, s, *q, nullptr, { }))
{
all = false;
break;
@@ -112,7 +111,7 @@ PreferOrAvoidHelper::operator() (const PackageDepSpec & s) const
p != p_end ; ++p)
{
for (auto q((*p)->begin()), q_end((*p)->end()) ; q != q_end ; ++q)
- if (match_package(*_imp->env, s, *q, make_null_shared_ptr(), { }))
+ if (match_package(*_imp->env, s, *q, nullptr, { }))
return false;
}