aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_choices_key.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/e_choices_key.cc')
-rw-r--r--paludis/repositories/e/e_choices_key.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/e/e_choices_key.cc b/paludis/repositories/e/e_choices_key.cc
index 769f3eb..3b1dba7 100644
--- a/paludis/repositories/e/e_choices_key.cc
+++ b/paludis/repositories/e/e_choices_key.cc
@@ -247,7 +247,7 @@ namespace
};
void add_choice_to_map(std::map<ChoiceNameWithPrefix, ChoiceOptions> & values,
- const std::pair<ChoiceNameWithPrefix, ChoiceOptions> & flag,
+ const std::pair<const ChoiceNameWithPrefix, ChoiceOptions> & flag,
const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > & key)
{
std::map<ChoiceNameWithPrefix, ChoiceOptions>::iterator i(values.find(flag.first));