diff --git a/profiler/src/profiler/TracyView_CpuData.cpp b/profiler/src/profiler/TracyView_CpuData.cpp index 91f77eb4..e89faf04 100644 --- a/profiler/src/profiler/TracyView_CpuData.cpp +++ b/profiler/src/profiler/TracyView_CpuData.cpp @@ -338,7 +338,7 @@ bool View::DrawCpuData( const TimelineContext& ctx, const std::vectorv; - auto it = std::lower_bound( v.begin(), v.end(), ev.Start(), [](const auto& l, const auto& r) { return l.End() < r; } ); + auto it = std::lower_bound( v.begin(), v.end(), ev.Start(), [](const auto& l, const auto& r) { return l.Start() < r; } ); // We should have the data, or something went wrong. assert( it != v.end() && it->Start() == ev.Start() );