diff options
author | 2010-07-22 12:52:10 +0100 | |
---|---|---|
committer | 2010-07-22 18:55:26 +0100 | |
commit | f7be9952e67a5cdad6f3531a22654db198e7d106 (patch) | |
tree | 54c8fae2eaaf89851c038d28ed6deb9096c87b4d /paludis/environments/paludis/world.cc | |
parent | 84f32a46c9bd03039af31be9626206ce891fa841 (diff) | |
download | paludis-f7be9952e67a5cdad6f3531a22654db198e7d106.tar.gz paludis-f7be9952e67a5cdad6f3531a22654db198e7d106.tar.xz |
Use std::make_shared<>
Diffstat (limited to 'paludis/environments/paludis/world.cc')
-rw-r--r-- | paludis/environments/paludis/world.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/environments/paludis/world.cc b/paludis/environments/paludis/world.cc index 8c9b3b0fd..19f9ce435 100644 --- a/paludis/environments/paludis/world.cc +++ b/paludis/environments/paludis/world.cc @@ -197,7 +197,7 @@ World::world_set() const << "World file '" << *_imp->maybe_world_file << "' doesn't exist"; } - return make_shared_ptr(new SetSpecTree(make_shared_ptr(new AllDepSpec))); + return std::make_shared<SetSpecTree>(std::make_shared<AllDepSpec>()); } std::shared_ptr<const FSEntry> |