mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Use proper encoding of source location.
This commit is contained in:
parent
9170cfd943
commit
a374114358
@ -396,7 +396,7 @@ std::vector<int32_t> Worker::GetMatchingSourceLocation( const char* query ) cons
|
|||||||
{
|
{
|
||||||
auto it = m_data.sourceLocationPayloadMap.find( srcloc );
|
auto it = m_data.sourceLocationPayloadMap.find( srcloc );
|
||||||
assert( it != m_data.sourceLocationPayloadMap.end() );
|
assert( it != m_data.sourceLocationPayloadMap.end() );
|
||||||
match.push_back( it->second );
|
match.push_back( -int32_t( it->second + 1 ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user