aboutsummaryrefslogtreecommitdiff
path: root/paludis/python_hooks.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-22 12:52:10 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-22 18:55:26 +0100
commitf7be9952e67a5cdad6f3531a22654db198e7d106 (patch)
tree54c8fae2eaaf89851c038d28ed6deb9096c87b4d /paludis/python_hooks.cc
parent84f32a46c9bd03039af31be9626206ce891fa841 (diff)
downloadpaludis-f7be9952e67a5cdad6f3531a22654db198e7d106.tar.gz
paludis-f7be9952e67a5cdad6f3531a22654db198e7d106.tar.xz
Use std::make_shared<>
Diffstat (limited to 'paludis/python_hooks.cc')
-rw-r--r--paludis/python_hooks.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/paludis/python_hooks.cc b/paludis/python_hooks.cc
index d2b07cef7..8f98ea4b7 100644
--- a/paludis/python_hooks.cc
+++ b/paludis/python_hooks.cc
@@ -13,7 +13,6 @@
#include <paludis/util/system.hh>
#include <paludis/util/mutex.hh>
#include <paludis/util/sequence.hh>
-#include <paludis/util/make_shared_ptr.hh>
#include <paludis/util/make_named_values.hh>
#include <set>
@@ -75,7 +74,7 @@ namespace
virtual const std::shared_ptr<const Sequence<std::string> > auto_hook_names() const
{
- return make_shared_ptr(new Sequence<std::string>);
+ return std::make_shared<Sequence<std::string>>();
}
};