Merge "Don't pass non-const refs."
This commit is contained in:
commit
2fe71c70ab
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ void addAll(set<string>* a, const set<string>& b) {
|
|||
a->insert(b.begin(), b.end());
|
||||
}
|
||||
|
||||
void removeAll(set<string>* a, const set<string> b) {
|
||||
void removeAll(set<string>* a, const set<string>& b) {
|
||||
for (const auto& toRemove : b) {
|
||||
a->erase(toRemove);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue