aboutsummaryrefslogtreecommitdiff
path: root/paludis/elike_choices.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/elike_choices.cc')
-rw-r--r--paludis/elike_choices.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/paludis/elike_choices.cc b/paludis/elike_choices.cc
index 14e970593..e012f4585 100644
--- a/paludis/elike_choices.cc
+++ b/paludis/elike_choices.cc
@@ -734,9 +734,9 @@ namespace
}
ELikeSymbolsChoiceValue::ELikeSymbolsChoiceValue(const std::shared_ptr<const PackageID> & id,
- const Environment * const env, const std::shared_ptr<const Choice> & choice) :
- _enabled(env->want_choice_enabled(id, choice, canonical_unprefixed_name()).is_true()),
- _param(get_symbols(id, env->value_for_choice_parameter(id, choice, canonical_unprefixed_name())))
+ const Environment * const env, const std::shared_ptr<const Choice> & choice, const ELikeSymbolsChoiceValueParameter _force) :
+ _enabled(! env->want_choice_enabled(id, choice, canonical_unprefixed_name()).is_false()),
+ _param(_force != last_escvp ? _force : get_symbols(id, env->value_for_choice_parameter(id, choice, canonical_unprefixed_name())))
{
}