Skip to content
Snippets Groups Projects
Commit 32999378 authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Don't pass non-const refs.

Non-const refs are not allowed by style guide.
This was just an oversight.

Test: m bpf_existence_test
Change-Id: I8947118618dd5beef7f5643475d348f709799922
parent 8db39c45
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment