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:
parent
ff03ea8aeb
commit
d1ec941698
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user