From e9395cd988a6b9f210a8fbbc969dd6022ca873ca Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 4 Mar 2018 17:20:14 +0100 Subject: [PATCH] Reconstruct source location payload map on data load. --- server/TracyWorker.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 29672453..5d0fa41e 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -126,6 +126,7 @@ Worker::Worker( FileRead& f ) auto srcloc = m_slab.Alloc(); f.Read( srcloc, sizeof( *srcloc ) ); m_data.sourceLocationPayload.push_back( srcloc ); + m_data.sourceLocationPayloadMap.emplace( srcloc, uint32_t( i ) ); } f.Read( &sz, sizeof( sz ) );