From 6e0c238f71cea81e84d4c1906d18e5c0fe8f43ac Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 28 Jan 2020 21:55:32 +0100 Subject: [PATCH] Remove unneeded lambda capture. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index b20d704a..2b0a3e67 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1374,7 +1374,7 @@ void View::DrawFrames() int64_t zoneTime = 0; // This search is not valid, as zones are sorted according to their start time, not end time. - auto itStart = std::lower_bound( begin, zoneData.zones.end(), f0, [this] ( const auto& l, const auto& r ) { return l.Zone()->End() < r; } ); + auto itStart = std::lower_bound( begin, zoneData.zones.end(), f0, [] ( const auto& l, const auto& r ) { return l.Zone()->End() < r; } ); if( itStart != zoneData.zones.end() ) { auto itEnd = std::lower_bound( itStart, zoneData.zones.end(), f1, [] ( const auto& l, const auto& r ) { return l.Zone()->Start() < r; } );