aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/registration.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-23 21:14:33 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-23 21:15:08 +0100
commit1e88d3f531a7d9cac4cd08db1484a3a87679af3c (patch)
tree9c2852177fbfc30366d24947658bf52a5c9e6d0c /paludis/repositories/e/registration.cc
parentc3802f0aec7d89a518cf74145aa73bf2ea688e35 (diff)
downloadpaludis-1e88d3f531a7d9cac4cd08db1484a3a87679af3c.tar.gz
paludis-1e88d3f531a7d9cac4cd08db1484a3a87679af3c.tar.xz
Avoid more explicit newage
Diffstat (limited to 'paludis/repositories/e/registration.cc')
-rw-r--r--paludis/repositories/e/registration.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/paludis/repositories/e/registration.cc b/paludis/repositories/e/registration.cc
index 2513f5157..166c21dd9 100644
--- a/paludis/repositories/e/registration.cc
+++ b/paludis/repositories/e/registration.cc
@@ -53,7 +53,7 @@ namespace paludis
void register_repositories<repository_groups::e>(const repository_groups::e * const,
RepositoryFactory * const factory)
{
- std::shared_ptr<Set<std::string> > ebuild_formats(new Set<std::string>);
+ std::shared_ptr<Set<std::string> > ebuild_formats(std::make_shared<Set<std::string>>());
ebuild_formats->insert("e");
ebuild_formats->insert("ebuild");
ebuild_formats->insert("exheres");
@@ -66,7 +66,7 @@ namespace paludis
&ERepository::repository_factory_dependencies
);
- std::shared_ptr<Set<std::string> > vdb_formats(new Set<std::string>);
+ std::shared_ptr<Set<std::string> > vdb_formats(std::make_shared<Set<std::string>>());
vdb_formats->insert("vdb");
factory->add_repository_format(
@@ -77,7 +77,7 @@ namespace paludis
&VDBRepository::repository_factory_dependencies
);
- std::shared_ptr<Set<std::string> > exndbam_formats(new Set<std::string>);
+ std::shared_ptr<Set<std::string> > exndbam_formats(std::make_shared<Set<std::string>>());
exndbam_formats->insert("exndbam");
factory->add_repository_format(