mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-04 18:24:38 +00:00
Pass std::string by reference. Thanks Chris!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52678 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user