Let's leave this here.

This commit is contained in:
Bartosz Taudul 2019-09-07 17:49:54 +02:00
parent a0814a2e5c
commit 17e6a97552

View File

@ -1271,6 +1271,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 m_worker.GetZoneEndDirect( *l.Zone() ) < r; } );
if( itStart != zoneData.zones.end() )
{