summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-01-07 23:22:10 +0100
committerTor Egge <Tor.Egge@broadpark.no>2020-01-07 23:22:10 +0100
commit818d2f4f8a6418ac455387753c0e6da9af1c1616 (patch)
treecf65ae5956eb88cdf4817557564574058f967417 /vespalib
parentac86bb091d01e6299d6f3e88c531d1cd6903474d (diff)
Remove unused lambda capture.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/tests/visit_ranges/visit_ranges_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/tests/visit_ranges/visit_ranges_test.cpp b/vespalib/src/tests/visit_ranges/visit_ranges_test.cpp
index cb1ac9bd9c3..e4cd9dcd5cb 100644
--- a/vespalib/src/tests/visit_ranges/visit_ranges_test.cpp
+++ b/vespalib/src/tests/visit_ranges/visit_ranges_test.cpp
@@ -90,7 +90,7 @@ TEST(VisitRangesTest, asymmetric_merge_can_be_implemented) {
[&c](visit_ranges_first, int x) {
c.push_back(x);
},
- [&c](visit_ranges_second, int) {},
+ [](visit_ranges_second, int) {},
[&c](visit_ranges_both, int x, int y) {
c.push_back(x * y);
}