mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 09:14:36 +00:00
No need to populate string map when loading dump.
This commit is contained in:
parent
d5ea8a86a4
commit
a7e85c5b76
@ -230,7 +230,6 @@ View::View( FileRead& f )
|
|||||||
auto dst = m_slab.Alloc<char>( ssz+1 );
|
auto dst = m_slab.Alloc<char>( ssz+1 );
|
||||||
f.Read( dst, ssz );
|
f.Read( dst, ssz );
|
||||||
dst[ssz] = '\0';
|
dst[ssz] = '\0';
|
||||||
m_stringMap.emplace( dst, m_stringData.size() );
|
|
||||||
m_stringData.push_back( dst );
|
m_stringData.push_back( dst );
|
||||||
pointerMap.emplace( ptr, dst );
|
pointerMap.emplace( ptr, dst );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user