aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/prefer_or_avoid_helper.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2013-05-16 20:18:39 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2013-05-22 23:19:27 +0100
commit0174215ed434594d9288e38575a3aa41e2b10842 (patch)
tree6037c4c58a100e5a0cbca30ac7f3d911d8d57032 /paludis/resolver/prefer_or_avoid_helper.cc
parent78d9a9bf0758140e0e8c03c5e8d3288f74efbb51 (diff)
downloadpaludis-0174215ed434594d9288e38575a3aa41e2b10842.tar.gz
paludis-0174215ed434594d9288e38575a3aa41e2b10842.tar.xz
Use nullptr
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;
}