Merge "Don't pass non-const refs."

This commit is contained in:
Treehugger Robot 2022-01-17 15:57:35 +00:00 • committed by Gerrit Code Review
commit 2fe71c70ab

View file

@ -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);
}