aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/fake_repository_base.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/fake/fake_repository_base.cc')
-rw-r--r--paludis/repositories/fake/fake_repository_base.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/fake/fake_repository_base.cc b/paludis/repositories/fake/fake_repository_base.cc
index b3d4f04f9..0f2793e1c 100644
--- a/paludis/repositories/fake/fake_repository_base.cc
+++ b/paludis/repositories/fake/fake_repository_base.cc
@@ -159,7 +159,7 @@ FakeRepositoryBase::add_version(const QualifiedPackageName & q, const VersionSpe
_imp->ids.find(q)->second->end(), VersionIs(v)))
throw InternalError(PALUDIS_HERE, "duplicate id added");
- std::shared_ptr<FakePackageID> id(std::make_shared<FakePackageID>(_imp->env, shared_from_this(), q, v));
+ std::shared_ptr<FakePackageID> id(std::make_shared<FakePackageID>(_imp->env, name(), q, v));
_imp->ids.find(q)->second->push_back(id);
return id;
}