aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/dep_spec.cc8
-rw-r--r--python/dep_spec.hh4
2 files changed, 6 insertions, 6 deletions
diff --git a/python/dep_spec.cc b/python/dep_spec.cc
index a4273074a..c2c0972c3 100644
--- a/python/dep_spec.cc
+++ b/python/dep_spec.cc
@@ -170,15 +170,15 @@ PythonConditionalDepSpec::PythonConditionalDepSpec(const ConditionalDepSpec & d)
}
bool
-PythonConditionalDepSpec::condition_met() const
+PythonConditionalDepSpec::condition_met(const Environment * const env, const std::shared_ptr<const PackageID> & id) const
{
- return _data->condition_met();
+ return _data->condition_met(env, id);
}
bool
-PythonConditionalDepSpec::condition_meetable() const
+PythonConditionalDepSpec::condition_meetable(const Environment * const env, const std::shared_ptr<const PackageID> & id) const
{
- return _data->condition_meetable();
+ return _data->condition_meetable(env, id);
}
const std::shared_ptr<const ConditionalDepSpecData>
diff --git a/python/dep_spec.hh b/python/dep_spec.hh
index 08ab37296..4f9daabf5 100644
--- a/python/dep_spec.hh
+++ b/python/dep_spec.hh
@@ -132,8 +132,8 @@ namespace paludis
public:
PythonConditionalDepSpec(const ConditionalDepSpec &);
- bool condition_met() const PALUDIS_ATTRIBUTE((warn_unused_result));
- bool condition_meetable() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool condition_met(const Environment * const, const std::shared_ptr<const PackageID> &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool condition_meetable(const Environment * const, const std::shared_ptr<const PackageID> &) const PALUDIS_ATTRIBUTE((warn_unused_result));
const std::shared_ptr<const ConditionalDepSpecData> data() const PALUDIS_ATTRIBUTE((warn_unused_result));
};