1
0
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:
Bartosz Taudul
2017-11-11 02:31:51 +01:00
parent 24084cbcd2
commit ca4483ecf5
4 changed files with 53 additions and 12 deletions
+2 -2
View File
@@ -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;
};