aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_print_commands.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 /src/clients/cave/cmd_print_commands.cc
parent84f32a46c9bd03039af31be9626206ce891fa841 (diff)
downloadpaludis-f7be9952e67a5cdad6f3531a22654db198e7d106.tar.gz
paludis-f7be9952e67a5cdad6f3531a22654db198e7d106.tar.xz
Use std::make_shared<>
Diffstat (limited to 'src/clients/cave/cmd_print_commands.cc')
-rw-r--r--src/clients/cave/cmd_print_commands.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/clients/cave/cmd_print_commands.cc b/src/clients/cave/cmd_print_commands.cc
index 46d899ee9..6fcf8ae31 100644
--- a/src/clients/cave/cmd_print_commands.cc
+++ b/src/clients/cave/cmd_print_commands.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2008 Ciaran McCreesh
+ * Copyright (c) 2008, 2010 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -19,7 +19,6 @@
#include "cmd_print_commands.hh"
#include "command_factory.hh"
-#include <paludis/util/make_shared_ptr.hh>
#include <paludis/util/stringify.hh>
#include <paludis/args/args.hh>
#include <paludis/args/do_help.hh>
@@ -103,6 +102,6 @@ PrintCommandsCommand::run(
std::shared_ptr<args::ArgsHandler>
PrintCommandsCommand::make_doc_cmdline()
{
- return make_shared_ptr(new PrintCommandsCommandLine);
+ return std::make_shared<PrintCommandsCommandLine>();
}