From 3c4394489cf7f1d89cf46f493d49a1e1c16e5989 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 8 Feb 2019 11:54:29 +0100 Subject: [PATCH] Workaround GCC bug #67274. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67274 --- server/TracyView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index d333bdc9..aa26dcdb 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -5701,8 +5701,8 @@ void View::DrawFindZone() if( m_findZone.selfTime ) { pdqsort_branchless( sortedZones.begin(), sortedZones.end(), [this]( const auto& lhs, const auto& rhs ) { - return m_worker.GetZoneEndDirect( *lhs ) - lhs->start - GetZoneChildTimeFast( *lhs ) > - m_worker.GetZoneEndDirect( *rhs ) - rhs->start - GetZoneChildTimeFast( *rhs ); + return m_worker.GetZoneEndDirect( *lhs ) - lhs->start - this->GetZoneChildTimeFast( *lhs ) > + m_worker.GetZoneEndDirect( *rhs ) - rhs->start - this->GetZoneChildTimeFast( *rhs ); } ); } else