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:
parent
d8ea926067
commit
1aeb661917
@ -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 );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user