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

No nonsense union.

This commit is contained in:
Bartosz Taudul
2018-03-04 17:52:51 +01:00
parent 5afdccfc46
commit 5cb917e868
2 changed files with 9 additions and 19 deletions
+2 -2
View File
@@ -325,13 +325,13 @@ const char* Worker::GetString( const StringRef& ref ) const
if( ref.isidx )
{
assert( ref.active );
return m_data.stringData[ref.stridx];
return m_data.stringData[ref.str];
}
else
{
if( ref.active )
{
return GetString( ref.strptr );
return GetString( ref.str );
}
else
{