aboutsummaryrefslogtreecommitdiff
path: root/python/dep_spec.hh
diff options
context:
space:
mode:
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 &);