mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Simplify code.
This commit is contained in:
parent
b09bae07c4
commit
f99c6eec78
@ -543,11 +543,7 @@ void Worker::DispatchProcess( const QueueItem& ev, char*& ptr )
|
||||
|
||||
void Worker::CheckSourceLocation( uint64_t ptr )
|
||||
{
|
||||
if( m_data.sourceLocation.find( ptr ) != m_data.sourceLocation.end() )
|
||||
{
|
||||
return;
|
||||
}
|
||||
else
|
||||
if( m_data.sourceLocation.find( ptr ) == m_data.sourceLocation.end() )
|
||||
{
|
||||
NewSourceLocation( ptr );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user