wxCHECK2 needs an actual "op", in this case return

This commit is contained in:
Marek Roszko 2022-10-14 21:01:49 -04:00
parent 697056fa7e
commit ce2d091588
1 changed files with 1 additions and 1 deletions

View File

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