From aee9defb7bc6e1b69054c718548fe99f0ae66d26 Mon Sep 17 00:00:00 2001 From: Marcos Slomp Date: Wed, 9 Oct 2024 16:43:24 -0700 Subject: [PATCH] fix upper limit of unique source locations wrt manual --- server/TracyWorker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index fc51c06e..b0d13324 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -3298,7 +3298,7 @@ int16_t Worker::ShrinkSourceLocationReal( uint64_t srcloc ) int16_t Worker::NewShrinkedSourceLocation( uint64_t srcloc ) { - assert( m_data.sourceLocationExpand.size() < std::numeric_limits::max() ); + assert( m_data.sourceLocationExpand.size() < std::numeric_limits::max() ); const auto sz = int16_t( m_data.sourceLocationExpand.size() ); m_data.sourceLocationExpand.push_back( srcloc ); #ifndef TRACY_NO_STATISTICS