aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/job_state.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/job_state.cc
parent78d9a9bf0758140e0e8c03c5e8d3288f74efbb51 (diff)
downloadpaludis-0174215ed434594d9288e38575a3aa41e2b10842.tar.gz
paludis-0174215ed434594d9288e38575a3aa41e2b10842.tar.xz
Use nullptr
Diffstat (limited to 'paludis/resolver/job_state.cc')
-rw-r--r--paludis/resolver/job_state.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/paludis/resolver/job_state.cc b/paludis/resolver/job_state.cc
index 2d541bd56..c7f7d0d81 100644
--- a/paludis/resolver/job_state.cc
+++ b/paludis/resolver/job_state.cc
@@ -19,7 +19,6 @@
#include <paludis/resolver/job_state.hh>
#include <paludis/util/pimp-impl.hh>
-#include <paludis/util/make_null_shared_ptr.hh>
#include <paludis/serialise-impl.hh>
using namespace paludis;
@@ -174,7 +173,7 @@ const std::shared_ptr<JobSucceededState>
JobSucceededState::deserialise(Deserialisation & d)
{
Deserialisator v(d, "JobSucceededState");
- return std::make_shared<JobSucceededState>(make_null_shared_ptr());
+ return std::make_shared<JobSucceededState>(nullptr);
}
void
@@ -204,7 +203,7 @@ const std::shared_ptr<JobFailedState>
JobFailedState::deserialise(Deserialisation & d)
{
Deserialisator v(d, "JobFailedState");
- return std::make_shared<JobFailedState>(make_null_shared_ptr());
+ return std::make_shared<JobFailedState>(nullptr);
}
void