Browse Source

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

merge-requests/1/head
jean-pierre charras 6 years ago
parent
commit
3fffd042de
  1. 2
      pcbnew/board_connected_item.cpp

2
pcbnew/board_connected_item.cpp

@ -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…
Cancel
Save