From 8b13780d42fbd167e99342930fd34569e829ec35 Mon Sep 17 00:00:00 2001 From: realstealthninja Date: Wed, 4 Sep 2024 23:55:56 +0000 Subject: [PATCH] Documentation for 15e3fed9248fbf2709e4dafec76728ef2c3b3d69 --- d9/dab/bloom__filter_8cpp.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/d9/dab/bloom__filter_8cpp.html b/d9/dab/bloom__filter_8cpp.html index 0d5c7e324..109286afa 100644 --- a/d9/dab/bloom__filter_8cpp.html +++ b/d9/dab/bloom__filter_8cpp.html @@ -342,13 +342,13 @@ Here is the call graph for this function:
228 10, {data_structures::hashDJB2, data_structures::hashStr});
229 std::vector<std::string> toCheck{"hello", "world", "!"};
230 std::vector<std::string> toFalse{"false", "world2", "!!!"};
-
231 for (auto& x : toCheck) {
+
231 for (const auto& x : toCheck) {
232 filter.add(x);
233 }
-
234 for (auto& x : toFalse) {
+
234 for (const auto& x : toFalse) {
235 assert(filter.contains(x) == false);
236 }
-
237 for (auto& x : toCheck) {
+
237 for (const auto& x : toCheck) {
238 assert(filter.contains(x));
239 }
240}