aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/traditional_profile.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-04-15 14:51:10 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-04-15 14:51:10 +0100
commitabea5c65aaf373efe4522fcac78e571300be0605 (patch)
treec12171cf70dab0c992d3805dc15c15fb54ce8b4f /paludis/repositories/e/traditional_profile.cc
parent0eba37612dad62dc675f082d15d7d07aa91fc590 (diff)
downloadpaludis-abea5c65aaf373efe4522fcac78e571300be0605.tar.gz
paludis-abea5c65aaf373efe4522fcac78e571300be0605.tar.xz
Use ctors explicitly in pairs
Diffstat (limited to 'paludis/repositories/e/traditional_profile.cc')
-rw-r--r--paludis/repositories/e/traditional_profile.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/paludis/repositories/e/traditional_profile.cc b/paludis/repositories/e/traditional_profile.cc
index ad1de0b57..7f80f5560 100644
--- a/paludis/repositories/e/traditional_profile.cc
+++ b/paludis/repositories/e/traditional_profile.cc
@@ -363,7 +363,7 @@ namespace
tokenise_whitespace(_imp->environment_variables[use_var], std::back_inserter(tokens));
for (std::list<std::string>::const_iterator t(tokens.begin()), t_end(tokens.end()) ;
t != t_end ; ++t)
- _imp->use.insert(std::make_pair("", *t));
+ _imp->use.insert(std::make_pair(ChoicePrefixName(""), UnprefixedChoiceName(*t)));
}
}
catch (const InternalError &)
@@ -427,7 +427,7 @@ namespace
tokenise_whitespace(_imp->environment_variables[stringify(*x)], std::back_inserter(uses));
for (std::list<std::string>::const_iterator u(uses.begin()), u_end(uses.end()) ;
u != u_end ; ++u)
- _imp->use.insert(std::make_pair(lower_x, *u));
+ _imp->use.insert(std::make_pair(ChoicePrefixName(lower_x), UnprefixedChoiceName(*u)));
}
}
@@ -468,7 +468,7 @@ namespace
{
std::string arch(arch_s);
- _imp->use.insert(std::make_pair(ChoicePrefixName(""), arch));
+ _imp->use.insert(std::make_pair(ChoicePrefixName(""), UnprefixedChoiceName(arch)));
_imp->stacked_values_list.back().use_force[ChoiceNameWithPrefix(arch)] = true;
}
catch (const InternalError &)