mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
Don't copy short_ptr.
This commit is contained in:
parent
66255dc950
commit
2f44f65e02
@ -8240,7 +8240,7 @@ void Worker::Write( FileWrite& f, bool fiDict )
|
||||
f.Write( &sz, sizeof( sz ) );
|
||||
for( size_t i=1; i<=sz; i++ )
|
||||
{
|
||||
auto cs = m_data.callstackPayload[i];
|
||||
auto& cs = m_data.callstackPayload[i];
|
||||
uint16_t csz = cs->size();
|
||||
f.Write( &csz, sizeof( csz ) );
|
||||
f.Write( cs->data(), sizeof( CallstackFrameId ) * csz );
|
||||
|
Loading…
Reference in New Issue
Block a user