aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/reason_utils.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/reason_utils.cc
parent78d9a9bf0758140e0e8c03c5e8d3288f74efbb51 (diff)
downloadpaludis-0174215ed434594d9288e38575a3aa41e2b10842.tar.gz
paludis-0174215ed434594d9288e38575a3aa41e2b10842.tar.xz
Use nullptr
Diffstat (limited to 'paludis/resolver/reason_utils.cc')
-rw-r--r--paludis/resolver/reason_utils.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/paludis/resolver/reason_utils.cc b/paludis/resolver/reason_utils.cc
index 724b23c77..4a075c176 100644
--- a/paludis/resolver/reason_utils.cc
+++ b/paludis/resolver/reason_utils.cc
@@ -19,7 +19,6 @@
#include <paludis/resolver/reason_utils.hh>
#include <paludis/resolver/reason.hh>
-#include <paludis/util/make_null_shared_ptr.hh>
using namespace paludis;
using namespace paludis::resolver;
@@ -78,27 +77,27 @@ namespace
std::shared_ptr<const PackageID> visit(const DependentReason &) const
{
- return make_null_shared_ptr();
+ return nullptr;
}
std::shared_ptr<const PackageID> visit(const WasUsedByReason &) const
{
- return make_null_shared_ptr();
+ return nullptr;
}
std::shared_ptr<const PackageID> visit(const PresetReason &) const
{
- return make_null_shared_ptr();
+ return nullptr;
}
std::shared_ptr<const PackageID> visit(const ViaBinaryReason &) const
{
- return make_null_shared_ptr();
+ return nullptr;
}
std::shared_ptr<const PackageID> visit(const TargetReason &) const
{
- return make_null_shared_ptr();
+ return nullptr;
}
std::shared_ptr<const PackageID> visit(const LikeOtherDestinationTypeReason & r) const