aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/fake_repository.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/fake/fake_repository.cc
parentc3802f0aec7d89a518cf74145aa73bf2ea688e35 (diff)
downloadpaludis-1e88d3f531a7d9cac4cd08db1484a3a87679af3c.tar.gz
paludis-1e88d3f531a7d9cac4cd08db1484a3a87679af3c.tar.xz
Avoid more explicit newage
Diffstat (limited to 'paludis/repositories/fake/fake_repository.cc')
-rw-r--r--paludis/repositories/fake/fake_repository.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/fake/fake_repository.cc b/paludis/repositories/fake/fake_repository.cc
index fa61e2911..6201af36f 100644
--- a/paludis/repositories/fake/fake_repository.cc
+++ b/paludis/repositories/fake/fake_repository.cc
@@ -44,8 +44,8 @@ namespace paludis
std::shared_ptr<const MetadataValueKey<std::string> > format_key;
Imp() :
- virtual_packages(new FakeRepository::VirtualsSequence),
- format_key(new LiteralMetadataValueKey<std::string> (
+ virtual_packages(std::make_shared<FakeRepository::VirtualsSequence>()),
+ format_key(std::make_shared<LiteralMetadataValueKey<std::string> >(
"format", "format", mkt_significant, "fake"))
{
}