aboutsummaryrefslogtreecommitdiff
path: root/paludis/package_id.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-22 21:46:00 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-22 21:46:00 +0100
commit4209b95ecc83365718b3dd5556a6866a662e95c5 (patch)
tree2adf8c110af7f7979685fa1a3743230f8c370c83 /paludis/package_id.cc
parent99ca317486703808bec65846a6266afdace5d0f7 (diff)
downloadpaludis-4209b95ecc83365718b3dd5556a6866a662e95c5.tar.gz
paludis-4209b95ecc83365718b3dd5556a6866a662e95c5.tar.xz
Less verbose PrivateImplementationPattern
Diffstat (limited to 'paludis/package_id.cc')
-rw-r--r--paludis/package_id.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/paludis/package_id.cc b/paludis/package_id.cc
index c9d978d20..aa0a80a8d 100644
--- a/paludis/package_id.cc
+++ b/paludis/package_id.cc
@@ -65,7 +65,7 @@ namespace paludis
}
PackageID::PackageID() :
- PrivateImplementationPattern<PackageID>(new Implementation<PackageID>),
+ PrivateImplementationPattern<PackageID>(),
_imp(PrivateImplementationPattern<PackageID>::_imp)
{
}
@@ -179,7 +179,7 @@ namespace paludis
}
PackageIDComparator::PackageIDComparator(const PackageDatabase * const db) :
- PrivateImplementationPattern<PackageIDComparator>(new Implementation<PackageIDComparator>)
+ PrivateImplementationPattern<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>(new Implementation<PackageIDComparator>)
+ PrivateImplementationPattern<PackageIDComparator>()
{
_imp->m = other._imp->m;
}