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

Unsafe version of AppendData.

This commit is contained in:
Bartosz Taudul
2018-06-23 02:16:58 +02:00
parent a2c6848433
commit 4d197ec7a2
2 changed files with 7 additions and 2 deletions
+1 -2
View File
@@ -456,8 +456,7 @@ bool Profiler::AppendData( const void* data, size_t len )
{
auto ret = true;
ret = NeedDataSize( len );
memcpy( m_buffer + m_bufferOffset, data, len );
m_bufferOffset += int( len );
AppendDataUnsafe( data, len );
return ret;
}