aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/use_desc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/use_desc.cc')
-rw-r--r--paludis/repositories/e/use_desc.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/paludis/repositories/e/use_desc.cc b/paludis/repositories/e/use_desc.cc
index d5f919cd1..f6e283077 100644
--- a/paludis/repositories/e/use_desc.cc
+++ b/paludis/repositories/e/use_desc.cc
@@ -62,9 +62,10 @@ namespace paludis
std::string::size_type q(lhs.find(':'));
if (std::string::npos == q)
- global_descs.insert(make_pair(make_pair(prefix, lhs), rhs));
+ global_descs.insert(std::make_pair(std::make_pair(ChoicePrefixName(prefix), UnprefixedChoiceName(lhs)), rhs));
else
- local_descs[QualifiedPackageName(lhs.substr(0, q))].insert(make_pair(make_pair(prefix, lhs.substr(q + 1)), rhs));
+ local_descs[QualifiedPackageName(lhs.substr(0, q))].insert(
+ std::make_pair(std::make_pair(ChoicePrefixName(prefix), UnprefixedChoiceName(lhs.substr(q + 1))), rhs));
}
}
}