mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Pass std::string by reference. Thanks Chris!
llvm-svn: 52678
This commit is contained in:
parent
ff03ea8aeb
commit
d1ec941698
@ -384,7 +384,7 @@ public:
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool erase(std::string Key) {
|
bool erase(const std::string &Key) {
|
||||||
iterator I = find(Key);
|
iterator I = find(Key);
|
||||||
if (I == end()) return false;
|
if (I == end()) return false;
|
||||||
erase(I);
|
erase(I);
|
||||||
|
Loading…
Reference in New Issue
Block a user