aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-07-06 21:27:53 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-07-05 20:21:33 +0100
commit986c0c22ac095bab46018e9b2a6e66326bbfcca9 (patch)
treec380d25abbf1e57e09ece16026cce68f293c9689
parentf78c25ff5c697a711b16c08d7edcc2af886be474 (diff)
downloadpaludis-986c0c22ac095bab46018e9b2a6e66326bbfcca9.tar.gz
paludis-986c0c22ac095bab46018e9b2a6e66326bbfcca9.tar.xz
Might as well use options as the name
-rw-r--r--paludis/repositories/e/e_choices_key.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/paludis/repositories/e/e_choices_key.cc b/paludis/repositories/e/e_choices_key.cc
index 8f534f8..316460a 100644
--- a/paludis/repositories/e/e_choices_key.cc
+++ b/paludis/repositories/e/e_choices_key.cc
@@ -269,7 +269,7 @@ EChoicesKey::populate_myoptions() const
{
Context local_context("When using raw_myoptions_key to populate choices:");
- std::tr1::shared_ptr<Choice> use(new Choice(make_named_values<ChoiceParams>(
+ std::tr1::shared_ptr<Choice> options(new Choice(make_named_values<ChoiceParams>(
value_for<n::consider_added_or_changed>(true),
value_for<n::contains_every_value>(false),
value_for<n::hidden>(false),
@@ -278,7 +278,7 @@ EChoicesKey::populate_myoptions() const
value_for<n::raw_name>(_imp->id->eapi()->supported()->ebuild_environment_variables()->env_use()),
value_for<n::show_with_no_prefix>(true)
)));
- _imp->value->add(use);
+ _imp->value->add(options);
std::tr1::shared_ptr<const Set<std::string> > hidden;
if (_imp->id->raw_use_expand_hidden_key())
@@ -324,7 +324,7 @@ EChoicesKey::populate_myoptions() const
Context local_local_context("When using empty prefix to populate choices:");
for (MyOptionsFinder::Values::const_iterator v(p->second.begin()), v_end(p->second.end()) ;
v != v_end ; ++v)
- use->add(make_myoption(_imp->id, use, v, indeterminate, true));
+ options->add(make_myoption(_imp->id, options, v, indeterminate, true));
myoptions.prefixes.erase(p);
}