diff --git a/server/TracyView.cpp b/server/TracyView.cpp index b73d38f5..16dfc16b 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -231,7 +231,7 @@ View::View( FileRead& f ) m_threadNames.emplace( ptr, std::string( tmp, tmp+ssz ) ); } - std::unordered_map stringMap; + std::unordered_map pointerMap; f.Read( &sz, sizeof( sz ) ); for( uint64_t i=0; i(); uint64_t ptr; f.Read( &ptr, sizeof( ptr ) ); - td->userText = ptr == 0 ? nullptr : stringMap.find( ptr )->second; + td->userText = ptr == 0 ? nullptr : pointerMap.find( ptr )->second; f.Read( &td->zoneName, sizeof( td->zoneName ) ); m_textData.push_back( td ); }