Use wxASSERT instead of assert (assert creates issues when debugging on Windows)
This commit is contained in:
parent
8a4ba87fba
commit
3fffd042de
|
@ -69,7 +69,7 @@ bool BOARD_CONNECTED_ITEM::SetNetCode( int aNetCode, bool aNoAssert )
|
|||
m_netinfo = &NETINFO_LIST::ORPHANED_ITEM;
|
||||
|
||||
if( !aNoAssert )
|
||||
assert( m_netinfo );
|
||||
wxASSERT( m_netinfo );
|
||||
|
||||
// Add only if it was previously added to the ratsnest
|
||||
//if( addRatsnest )
|
||||
|
|
Loading…
Reference in New Issue