aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/fake_repository.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-09-19 08:15:58 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-09-19 08:15:58 +0100
commit162a593a59467a7293228cd598f6a3c74a6e0ec4 (patch)
treefdfd2932ce0a8f71166a7553c9a69ced5723062d /paludis/repositories/fake/fake_repository.cc
parentba2963cf4666e66d92186a6962d1e4a794b4fedd (diff)
downloadpaludis-162a593a59467a7293228cd598f6a3c74a6e0ec4.tar.gz
paludis-162a593a59467a7293228cd598f6a3c74a6e0ec4.tar.xz
Be consistent in how we handle sptrs
Diffstat (limited to 'paludis/repositories/fake/fake_repository.cc')
-rw-r--r--paludis/repositories/fake/fake_repository.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/fake/fake_repository.cc b/paludis/repositories/fake/fake_repository.cc
index 65779f896..fcd9f4cd0 100644
--- a/paludis/repositories/fake/fake_repository.cc
+++ b/paludis/repositories/fake/fake_repository.cc
@@ -115,7 +115,7 @@ FakeRepository::virtual_packages() const
}
void
-FakeRepository::add_virtual_package(const QualifiedPackageName & q, std::tr1::shared_ptr<const PackageDepSpec> p)
+FakeRepository::add_virtual_package(const QualifiedPackageName & q, const std::tr1::shared_ptr<const PackageDepSpec> & p)
{
_imp->virtual_packages->push_back(make_named_values<RepositoryVirtualsEntry>(
value_for<n::provided_by_spec>(p),