aboutsummaryrefslogtreecommitdiff
path: root/python/dep_spec.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-09 10:23:12 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-09 10:23:12 +0000
commit7a2c9e974666881f44406c88189ae546a67ff0b7 (patch)
treef6846da02bf779a262f58e5042f3fa1bbf7415d3 /python/dep_spec.hh
parent7f7c79fcc67df4fae498ca943e36592d3f7a3ad2 (diff)
downloadpaludis-7a2c9e974666881f44406c88189ae546a67ff0b7.tar.gz
paludis-7a2c9e974666881f44406c88189ae546a67ff0b7.tar.xz
Rework Pimp to avoid ImpPtr ickiness
Fixes: ticket:1070
Diffstat (limited to 'python/dep_spec.hh')
-rw-r--r--python/dep_spec.hh10
1 files changed, 7 insertions, 3 deletions
diff --git a/python/dep_spec.hh b/python/dep_spec.hh
index 4f9daabf5..70b4a792c 100644
--- a/python/dep_spec.hh
+++ b/python/dep_spec.hh
@@ -75,9 +75,11 @@ namespace paludis
};
class PALUDIS_VISIBLE PythonCompositeDepSpec :
- public PythonDepSpec,
- private Pimp<PythonCompositeDepSpec>
+ public PythonDepSpec
{
+ private:
+ Pimp<PythonCompositeDepSpec> _imp;
+
protected:
PythonCompositeDepSpec();
@@ -157,9 +159,11 @@ namespace paludis
class PALUDIS_VISIBLE PythonPackageDepSpec :
public PythonStringDepSpec,
- private Pimp<PythonPackageDepSpec>,
public ImplementAcceptMethods<PythonDepSpec, PythonPackageDepSpec>
{
+ private:
+ Pimp<PythonPackageDepSpec> _imp;
+
public:
PythonPackageDepSpec(const PackageDepSpec &);
PythonPackageDepSpec(const PythonPackageDepSpec &);