From 7c6e656fda53580d66c1e77142d7ca9b0b5fdba6 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 11 May 2026 20:01:40 +0200 Subject: [PATCH] Use existing reference to array entry. --- 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 9122ba6c..b48161d3 100644 --- a/profiler/src/profiler/TracySourceView.cpp +++ b/profiler/src/profiler/TracySourceView.cpp @@ -2048,7 +2048,7 @@ void SourceView::AttachRangeToLlm( size_t start, size_t stop, Worker& worker, Vi line = "::"; } - line += "+" + std::to_string( m_asm[i].addr - m_baseAddr ) + ":"; + line += "+" + std::to_string( v.addr - m_baseAddr ) + ":"; const auto totalCost = as.ipTotalAsm.local + as.ipTotalAsm.ext; if( totalCost != 0 )