aboutsummaryrefslogtreecommitdiff
path: root/paludis/package_id.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/package_id.cc
parent4209b95ecc83365718b3dd5556a6866a662e95c5 (diff)
downloadpaludis-dd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a.tar.gz
paludis-dd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a.tar.xz
PrivateImplementationPattern -> Pimp, Implementation -> Imp
Diffstat (limited to 'paludis/package_id.cc')
-rw-r--r--paludis/package_id.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/paludis/package_id.cc b/paludis/package_id.cc
index aa0a80a8d..4b8919580 100644
--- a/paludis/package_id.cc
+++ b/paludis/package_id.cc
@@ -19,7 +19,7 @@
#include <paludis/package_id.hh>
#include <paludis/metadata_key.hh>
-#include <paludis/util/private_implementation_pattern-impl.hh>
+#include <paludis/util/pimp-impl.hh>
#include <paludis/util/sequence.hh>
#include <paludis/util/sequence-impl.hh>
#include <paludis/util/set.hh>
@@ -45,7 +45,7 @@ using namespace paludis;
namespace paludis
{
template <>
- struct Implementation<PackageID>
+ struct Imp<PackageID>
{
mutable std::list<std::shared_ptr<const Mask> > masks;
mutable std::list<std::shared_ptr<const OverriddenMask> > overridden_masks;
@@ -65,8 +65,8 @@ namespace paludis
}
PackageID::PackageID() :
- PrivateImplementationPattern<PackageID>(),
- _imp(PrivateImplementationPattern<PackageID>::_imp)
+ Pimp<PackageID>(),
+ _imp(Pimp<PackageID>::_imp)
{
}
@@ -172,14 +172,14 @@ paludis::operator== (const PackageID & a, const PackageID & b)
namespace paludis
{
template <>
- struct Implementation<PackageIDComparator>
+ struct Imp<PackageIDComparator>
{
std::unordered_map<RepositoryName, unsigned, Hash<RepositoryName> > m;
};
}
PackageIDComparator::PackageIDComparator(const PackageDatabase * const db) :
- PrivateImplementationPattern<PackageIDComparator>()
+ Pimp<PackageIDComparator>()
{
unsigned c(0);
for (PackageDatabase::RepositoryConstIterator r(db->begin_repositories()),
@@ -188,7 +188,7 @@ PackageIDComparator::PackageIDComparator(const PackageDatabase * const db) :
}
PackageIDComparator::PackageIDComparator(const PackageIDComparator & other) :
- PrivateImplementationPattern<PackageIDComparator>()
+ Pimp<PackageIDComparator>()
{
_imp->m = other._imp->m;
}