Don't copy short_ptr.

This commit is contained in:
Bartosz Taudul 2022-09-02 18:47:13 +02:00
parent 66255dc950
commit 2f44f65e02
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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 );