aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/unwritten/unwritten_repository_store.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-23 08:54:11 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-23 08:54:11 +0100
commitdd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a (patch)
treeba2da539f103634b8ddb52a477bbace3b4a52c57 /paludis/repositories/unwritten/unwritten_repository_store.cc
parent4209b95ecc83365718b3dd5556a6866a662e95c5 (diff)
downloadpaludis-dd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a.tar.gz
paludis-dd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a.tar.xz
PrivateImplementationPattern -> Pimp, Implementation -> Imp
Diffstat (limited to 'paludis/repositories/unwritten/unwritten_repository_store.cc')
-rw-r--r--paludis/repositories/unwritten/unwritten_repository_store.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/paludis/repositories/unwritten/unwritten_repository_store.cc b/paludis/repositories/unwritten/unwritten_repository_store.cc
index 63164e502..a7dc6cad2 100644
--- a/paludis/repositories/unwritten/unwritten_repository_store.cc
+++ b/paludis/repositories/unwritten/unwritten_repository_store.cc
@@ -21,7 +21,7 @@
#include <paludis/repositories/unwritten/unwritten_repository_file.hh>
#include <paludis/repositories/unwritten/unwritten_id.hh>
#include <paludis/repositories/unwritten/unwritten_mask.hh>
-#include <paludis/util/private_implementation_pattern-impl.hh>
+#include <paludis/util/pimp-impl.hh>
#include <paludis/util/fs_entry.hh>
#include <paludis/util/stringify.hh>
#include <paludis/util/dir_iterator.hh>
@@ -55,14 +55,14 @@ typedef std::unordered_map<QualifiedPackageName,
namespace paludis
{
template <>
- struct Implementation<UnwrittenRepositoryStore>
+ struct Imp<UnwrittenRepositoryStore>
{
const UnwrittenRepository * const repo;
mutable std::shared_ptr<CategoryNamePartSet> categories;
mutable PackageNames package_names;
mutable IDs ids;
- Implementation(const UnwrittenRepository * const r) :
+ Imp(const UnwrittenRepository * const r) :
repo(r),
categories(new CategoryNamePartSet)
{
@@ -74,7 +74,7 @@ UnwrittenRepositoryStore::UnwrittenRepositoryStore(
const Environment * const env,
const UnwrittenRepository * const repo,
const FSEntry & f) :
- PrivateImplementationPattern<UnwrittenRepositoryStore>(repo)
+ Pimp<UnwrittenRepositoryStore>(repo)
{
_populate(env, f);
}
@@ -197,5 +197,5 @@ UnwrittenRepositoryStore::package_ids(const QualifiedPackageName & p) const
return i->second;
}
-template class PrivateImplementationPattern<unwritten_repository::UnwrittenRepositoryStore>;
+template class Pimp<unwritten_repository::UnwrittenRepositoryStore>;