diff --git a/tests/mts/bpf_existence_test.cpp b/tests/mts/bpf_existence_test.cpp index ac8096c558..142e01334d 100644 --- a/tests/mts/bpf_existence_test.cpp +++ b/tests/mts/bpf_existence_test.cpp @@ -92,7 +92,7 @@ void addAll(set* a, const set& b) { a->insert(b.begin(), b.end()); } -void removeAll(set* a, const set b) { +void removeAll(set* a, const set& b) { for (const auto& toRemove : b) { a->erase(toRemove); }