aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-10-18 21:09:03 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-10-18 21:09:03 +0100
commitbd031b4d5c27d04a21e06ae5069804c97797a238 (patch)
tree6a68971a2b4e52f305f90beccdfc23acc23f76fd
parent5338db899c7bc07fc301799cc6b974395e2f2186 (diff)
downloadpaludis-bd031b4d5c27d04a21e06ae5069804c97797a238.tar.gz
paludis-bd031b4d5c27d04a21e06ae5069804c97797a238.tar.xz
Don't need this any more
-rw-r--r--paludis/repositories/e/eapi.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/paludis/repositories/e/eapi.cc b/paludis/repositories/e/eapi.cc
index 11631d3..49326e1 100644
--- a/paludis/repositories/e/eapi.cc
+++ b/paludis/repositories/e/eapi.cc
@@ -450,10 +450,7 @@ EAPILabels::~EAPILabels()
const std::string
EAPILabels::class_for_label(const std::string & l) const
{
- // XXX This could (should) be cleaner.
- std::string s(l);
- if (s[0] == '@') s.erase(1);
- std::map<std::string, std::string>::const_iterator i(_imp->v.find(s));
+ std::map<std::string, std::string>::const_iterator i(_imp->v.find(l));
if (_imp->v.end() == i)
return "";
return i->second;