aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/required_use_verifier.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/required_use_verifier.cc')
-rw-r--r--paludis/repositories/e/required_use_verifier.cc12
1 files changed, 9 insertions, 3 deletions
diff --git a/paludis/repositories/e/required_use_verifier.cc b/paludis/repositories/e/required_use_verifier.cc
index 45402ba09..f39633007 100644
--- a/paludis/repositories/e/required_use_verifier.cc
+++ b/paludis/repositories/e/required_use_verifier.cc
@@ -47,13 +47,17 @@ namespace paludis
template <>
struct Imp<RequiredUseVerifier>
{
+ const Environment * const env;
const std::shared_ptr<const ERepositoryID> id;
std::shared_ptr<Sequence<std::string> > unmet_requirements;
std::list<Met> stack;
bool top;
- Imp(const std::shared_ptr<const ERepositoryID> & i) :
+ Imp(
+ const Environment * const e,
+ const std::shared_ptr<const ERepositoryID> & i) :
+ env(e),
id(i),
unmet_requirements(std::make_shared<Sequence<std::string>>()),
top(true)
@@ -63,8 +67,10 @@ namespace paludis
};
}
-RequiredUseVerifier::RequiredUseVerifier(const std::shared_ptr<const ERepositoryID> & id) :
- Pimp<RequiredUseVerifier>(id)
+RequiredUseVerifier::RequiredUseVerifier(
+ const Environment * const e,
+ const std::shared_ptr<const ERepositoryID> & id) :
+ Pimp<RequiredUseVerifier>(e, id)
{
}