diff options
author | 2013-05-16 20:18:39 +0100 | |
---|---|---|
committer | 2013-05-22 23:19:27 +0100 | |
commit | 0174215ed434594d9288e38575a3aa41e2b10842 (patch) | |
tree | 6037c4c58a100e5a0cbca30ac7f3d911d8d57032 /ruby/dep_spec.cc | |
parent | 78d9a9bf0758140e0e8c03c5e8d3288f74efbb51 (diff) | |
download | paludis-0174215ed434594d9288e38575a3aa41e2b10842.tar.gz paludis-0174215ed434594d9288e38575a3aa41e2b10842.tar.xz |
Use nullptr
Diffstat (limited to 'ruby/dep_spec.cc')
-rw-r--r-- | ruby/dep_spec.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ruby/dep_spec.cc b/ruby/dep_spec.cc index ad9ee78dd..8631f84db 100644 --- a/ruby/dep_spec.cc +++ b/ruby/dep_spec.cc @@ -29,7 +29,6 @@ #include <paludis/util/save.hh> #include <paludis/util/member_iterator-impl.hh> #include <paludis/util/indirect_iterator-impl.hh> -#include <paludis/util/make_null_shared_ptr.hh> #include <paludis/util/accept_visitor.hh> #include <algorithm> #include <list> @@ -330,7 +329,7 @@ namespace std::shared_ptr<H_> result; std::shared_ptr<typename H_::BasicInnerNode> add_to; - ValueToTree(VALUE val, std::shared_ptr<H_> r = make_null_shared_ptr()) : + ValueToTree(VALUE val, std::shared_ptr<H_> r = nullptr) : result(r) { if (result) |