mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
First entry in sourceLocationExpand is special.
This commit is contained in:
parent
80da271a2c
commit
9170cfd943
@ -377,7 +377,7 @@ std::vector<int32_t> Worker::GetMatchingSourceLocation( const char* query ) cons
|
|||||||
std::vector<int32_t> match;
|
std::vector<int32_t> match;
|
||||||
|
|
||||||
const auto sz = m_data.sourceLocationExpand.size();
|
const auto sz = m_data.sourceLocationExpand.size();
|
||||||
for( size_t i=0; i<sz; i++ )
|
for( size_t i=1; i<sz; i++ )
|
||||||
{
|
{
|
||||||
const auto it = m_data.sourceLocation.find( m_data.sourceLocationExpand[i] );
|
const auto it = m_data.sourceLocation.find( m_data.sourceLocationExpand[i] );
|
||||||
assert( it != m_data.sourceLocation.end() );
|
assert( it != m_data.sourceLocation.end() );
|
||||||
|
Loading…
Reference in New Issue
Block a user