Skip to content

Commit 70bff87

Browse files
committed
refactor(test): remove unused lambda capture
1 parent 59b3012 commit 70bff87

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/lib/Dom/LazyObject.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,7 @@ struct LazyObject_test
194194
obj.set("x", 789);
195195
std::size_t count = 0;
196196
bool found = false;
197-
bool match = true;
198-
obj.visit([&count, &match, &found](String key, Value value) {
197+
obj.visit([&count, &found](String key, Value value) {
199198
if (key == "x" && value == 789)
200199
found = true;
201200
++count;

0 commit comments

Comments
 (0)