aboutsummaryrefslogtreecommitdiff
path: root/python/dep_spec.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-28 22:19:20 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-01 03:57:52 +0000
commit92f0a95d1854442e744f707eaae9add7fd92ff67 (patch)
tree9d403328a07f89c1598b4d3cb0079b292d82729e /python/dep_spec.cc
parent092228a814cd6700b97112b5dcf931c80b6b9431 (diff)
downloadpaludis-92f0a95d1854442e744f707eaae9add7fd92ff67.tar.gz
paludis-92f0a95d1854442e744f707eaae9add7fd92ff67.tar.xz
Pass env, id to ConditionalDepSpec members
Diffstat (limited to 'python/dep_spec.cc')
-rw-r--r--python/dep_spec.cc8
1 files changed, 4 insertions, 4 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>