From 2bc09a42cb147e19fbee58658da2dec02d47c5ef Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 15 Jan 2026 21:56:19 +0100 Subject: [PATCH] Use contains(). --- profiler/src/profiler/TracySourceView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/src/profiler/TracySourceView.cpp b/profiler/src/profiler/TracySourceView.cpp index 666b6706..e4186dac 100644 --- a/profiler/src/profiler/TracySourceView.cpp +++ b/profiler/src/profiler/TracySourceView.cpp @@ -2199,7 +2199,7 @@ void SourceView::RenderSymbolSourceView( const AddrStatData& as, Worker& worker, for( auto& v : as.ipCountSrc ) ipData.emplace_back( v.first, v.second ); for( uint32_t lineNum = 1; lineNum <= lines.size(); lineNum++ ) { - if( as.ipCountSrc.find( lineNum ) == as.ipCountSrc.end() ) + if( !as.ipCountSrc.contains( lineNum ) ) { auto addresses = GetAddressesForLocation( m_source.idx(), lineNum, worker ); if( addresses )