aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_choice_value.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-08-06 19:23:28 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-08-07 14:51:14 +0100
commit25215485622ceb2992cc3f831eafba5744770f33 (patch)
tree58b4593edd3aa8edc7c4a20d40f18a3cf681ca63 /paludis/repositories/e/e_choice_value.cc
parente68ba8a3313e0d14ad9a978a57fd29c472b4953e (diff)
downloadpaludis-25215485622ceb2992cc3f831eafba5744770f33.tar.gz
paludis-25215485622ceb2992cc3f831eafba5744770f33.tar.xz
Explicit choices
Diffstat (limited to 'paludis/repositories/e/e_choice_value.cc')
-rw-r--r--paludis/repositories/e/e_choice_value.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/repositories/e/e_choice_value.cc b/paludis/repositories/e/e_choice_value.cc
index 8252b3474..e381ac3ce 100644
--- a/paludis/repositories/e/e_choice_value.cc
+++ b/paludis/repositories/e/e_choice_value.cc
@@ -113,7 +113,7 @@ EChoiceValue::permitted_parameter_values() const
bool
EChoiceValue::presumed() const
{
- return false;
+ return _params.presumed();
}
namespace paludis
@@ -155,6 +155,7 @@ namespace paludis
&& (a.enabled_by_default() == b.enabled_by_default())
&& (a.origin() == b.origin())
&& (a.locked() == b.locked())
+ && (a.presumed() == b.presumed())
&& (a.unprefixed_choice_name() == b.unprefixed_choice_name())
;
}