mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
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…
x
Reference in New Issue
Block a user