mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Provide default value for sourceLocationZonesReady.
This commit is contained in:
parent
56dce646cc
commit
c99537c402
@ -657,7 +657,6 @@ Worker::Worker( FileRead& f, EventType::Type eventMask, bool bgTasks )
|
||||
}
|
||||
|
||||
#ifndef TRACY_NO_STATISTICS
|
||||
m_data.sourceLocationZonesReady = false;
|
||||
m_data.sourceLocationZones.reserve( sle + sz );
|
||||
|
||||
f.Read( sz );
|
||||
|
@ -208,7 +208,7 @@ private:
|
||||
Vector<uint64_t> sourceLocationExpand;
|
||||
#ifndef TRACY_NO_STATISTICS
|
||||
unordered_flat_map<int16_t, SourceLocationZones> sourceLocationZones;
|
||||
bool sourceLocationZonesReady;
|
||||
bool sourceLocationZonesReady = false;
|
||||
#else
|
||||
unordered_flat_map<int16_t, uint64_t> sourceLocationZonesCnt;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user