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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user