Use wxASSERT instead of assert (assert creates issues when debugging on Windows)

This commit is contained in:
jean-pierre charras 2019-10-20 21:07:12 +02:00
parent 8a4ba87fba
commit 3fffd042de
1 changed files with 1 additions and 1 deletions

View File

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