aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/repository/repository_repository_store.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-28 19:28:37 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-01 03:57:52 +0000
commit092228a814cd6700b97112b5dcf931c80b6b9431 (patch)
tree4e52622c8ee797a645536d642e98e9292fa7b858 /paludis/repositories/repository/repository_repository_store.cc
parent97c38fc7c02260a2d213d9a16d878a0410b9d57a (diff)
downloadpaludis-092228a814cd6700b97112b5dcf931c80b6b9431.tar.gz
paludis-092228a814cd6700b97112b5dcf931c80b6b9431.tar.xz
PackageID::repository_name rather than ::repository
Diffstat (limited to 'paludis/repositories/repository/repository_repository_store.cc')
-rw-r--r--paludis/repositories/repository/repository_repository_store.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/repositories/repository/repository_repository_store.cc b/paludis/repositories/repository/repository_repository_store.cc
index 431413463..cfa62f988 100644
--- a/paludis/repositories/repository/repository_repository_store.cc
+++ b/paludis/repositories/repository/repository_repository_store.cc
@@ -18,6 +18,7 @@
*/
#include <paludis/repositories/repository/repository_repository_store.hh>
+#include <paludis/repositories/repository/repository_repository.hh>
#include <paludis/repositories/repository/repository_id.hh>
#include <paludis/util/pimp-impl.hh>
#include <paludis/util/stringify.hh>
@@ -94,7 +95,7 @@ RepositoryRepositoryStore::_populate_one(const RepositoryName & repo_name)
const std::shared_ptr<RepositoryID> id(std::make_shared<RepositoryID>(make_named_values<RepositoryIDParams>(
n::environment() = _imp->env,
n::name() = CategoryNamePart("repository") + PackageNamePart(stringify(repo_name)),
- n::repository() = _imp->repo
+ n::repository() = _imp->repo->name()
)));
_imp->categories->insert(id->name().category());