mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Lambda capture is not needed here.
This commit is contained in:
parent
68f476834f
commit
db29d309a2
@ -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; } );
|
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() )
|
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 )
|
if( m_frames->continuous )
|
||||||
{
|
{
|
||||||
while( itStart != itEnd )
|
while( itStart != itEnd )
|
||||||
|
Loading…
Reference in New Issue
Block a user