From db29d309a207bcd336fcfe2c1dfc96e0b284fc7a Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 1 Oct 2019 22:42:43 +0200 Subject: [PATCH] Lambda capture is not needed here. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 83564217..4f0a957c 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1275,7 +1275,7 @@ void View::DrawFrames() auto itStart = std::lower_bound( begin, zoneData.zones.end(), f0, [this] ( const auto& l, const auto& r ) { return m_worker.GetZoneEndDirect( *l.Zone() ) < r; } ); if( itStart != zoneData.zones.end() ) { - auto itEnd = std::lower_bound( itStart, zoneData.zones.end(), f1, [this] ( const auto& l, const auto& r ) { return l.Zone()->Start() < r; } ); + auto itEnd = std::lower_bound( itStart, zoneData.zones.end(), f1, [] ( const auto& l, const auto& r ) { return l.Zone()->Start() < r; } ); if( m_frames->continuous ) { while( itStart != itEnd )