mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Prevent source location payload duplication.
This commit is contained in:
@@ -20,7 +20,7 @@ struct StringRef
|
||||
{
|
||||
if( isidx )
|
||||
{
|
||||
stridx = (uint32_t)data;
|
||||
stridx = data;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -31,7 +31,7 @@ struct StringRef
|
||||
union
|
||||
{
|
||||
uint64_t strptr;
|
||||
uint32_t stridx;
|
||||
uint64_t stridx;
|
||||
};
|
||||
bool isidx;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user