mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Remove unneeded lambda capture.
This commit is contained in:
parent
e7ce7282a1
commit
6e0c238f71
@ -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; } );
|
||||
|
Loading…
Reference in New Issue
Block a user