1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Use correct constructor for StringData

This commit is contained in:
Dirk Eibach 2024-12-03 19:20:11 +01:00
parent d8ea926067
commit 1aeb661917

View File

@ -752,11 +752,11 @@ Worker::Worker( FileRead& f, EventType::Type eventMask, bool bgTasks, bool allow
if( m_allowStringModification )
{
m_data.stringData.push_back( { dst, ssz } );
m_data.stringData.push_back( StringData(dst, ssz) );
}
else
{
m_data.stringData[i] = { dst, ssz };
m_data.stringData[i] = StringData(dst, ssz );
}
pointerMap.emplace( ptr, dst );