Use wxCHECK instead of wxCHECK2

This commit is contained in:
Marek Roszko 2022-10-15 11:25:06 -04:00
parent 4af98827fd
commit 6ce714d537
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public:
bool SortSymbolInstancesByProjectUuid( const SYMBOL_INSTANCE_REFERENCE& aLhs, bool SortSymbolInstancesByProjectUuid( const SYMBOL_INSTANCE_REFERENCE& aLhs,
const SYMBOL_INSTANCE_REFERENCE& aRhs ) const SYMBOL_INSTANCE_REFERENCE& aRhs )
{ {
wxCHECK2( !aLhs.m_Path.empty() && !aRhs.m_Path.empty(), return false ); wxCHECK( !aLhs.m_Path.empty() && !aRhs.m_Path.empty(), false );
return aLhs.m_Path[0] < aRhs.m_Path[0]; return aLhs.m_Path[0] < aRhs.m_Path[0];
} }