aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_repository_mask_file.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-23 18:29:17 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-23 18:29:17 +0100
commitc3802f0aec7d89a518cf74145aa73bf2ea688e35 (patch)
tree9b6aab4b3d06e2e54afa10b2448af4f7819c6acd /paludis/repositories/e/e_repository_mask_file.cc
parent8ea8866114c450dec08322c57f8002b29eee19d3 (diff)
downloadpaludis-c3802f0aec7d89a518cf74145aa73bf2ea688e35.tar.gz
paludis-c3802f0aec7d89a518cf74145aa73bf2ea688e35.tar.xz
Avoid sptr.reset(new ...)
Diffstat (limited to 'paludis/repositories/e/e_repository_mask_file.cc')
-rw-r--r--paludis/repositories/e/e_repository_mask_file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/e/e_repository_mask_file.cc b/paludis/repositories/e/e_repository_mask_file.cc
index 0c9e41103..e46400a15 100644
--- a/paludis/repositories/e/e_repository_mask_file.cc
+++ b/paludis/repositories/e/e_repository_mask_file.cc
@@ -65,7 +65,7 @@ MaskFile::MaskFile(const FSEntry & f, const LineConfigFileOptions & opts) :
{
if (it->empty())
{
- comment.reset(new Sequence<std::string>);
+ comment = std::make_shared<Sequence<std::string>>();
comment_used = false;
continue;
}