Simplify code.

This commit is contained in:
Bartosz Taudul 2018-03-04 16:23:28 +01:00
parent b09bae07c4
commit f99c6eec78

View File

@ -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 );
}