mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-15 02:33:15 +02:00
Use wxCHECK instead of wxCHECK2
This commit is contained in:
parent
4af98827fd
commit
6ce714d537
@ -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];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user