mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +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:
parent
1d9a277761
commit
2b08676ca8
@ -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