1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Pass std::string by reference. Thanks Chris!

llvm-svn: 52678
This commit is contained in:
Dan Gohman 2008-06-24 16:40:22 +00:00
parent ff03ea8aeb
commit d1ec941698

View File

@ -384,7 +384,7 @@ public:
return true;
}
bool erase(std::string Key) {
bool erase(const std::string &Key) {
iterator I = find(Key);
if (I == end()) return false;
erase(I);