summaryrefslogtreecommitdiffstats
path: root/staging_vespalib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-01-09 16:01:09 +0100
committerTor Egge <Tor.Egge@broadpark.no>2020-01-09 16:01:09 +0100
commit615daaf754fdc66bf30cf4ad92f6a8b53b1d71ee (patch)
treea266446562abaed4ea678ecc5f4c65e72b2e5d60 /staging_vespalib
parent316675de61aab9b287de413a5e67b941c9a84c38 (diff)
Remove unused lambda capture in findMissing function.
Diffstat (limited to 'staging_vespalib')
-rw-r--r--staging_vespalib/src/vespa/vespalib/metrics/bucket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/metrics/bucket.cpp b/staging_vespalib/src/vespa/vespalib/metrics/bucket.cpp
index e212df5748f..2cf51be3494 100644
--- a/staging_vespalib/src/vespa/vespalib/metrics/bucket.cpp
+++ b/staging_vespalib/src/vespa/vespalib/metrics/bucket.cpp
@@ -66,11 +66,11 @@ findMissing(const std::vector<T> &already,
visit_ranges(overload
{
// missing from "complete", should not happen:
- [&result](visit_ranges_first, const T&) { },
+ [](visit_ranges_first, const T&) { },
// missing this:
[&result](visit_ranges_second, const T& x) { result.push_back(x); },
// already have this:
- [&result](visit_ranges_both, const T&, const T&) { }
+ [](visit_ranges_both, const T&, const T&) { }
},
already.begin(), already.end(),
complete.begin(), complete.end(),