Fix false assert when CONNECTIVITY_DEBUG is enabled

This commit is contained in:
Jon Evans 2019-03-17 17:19:21 -04:00 committed by Wayne Stambaugh
parent 54bfeb742c
commit 7b9f186464
1 changed files with 2 additions and 1 deletions

View File

@ -930,6 +930,7 @@ void CONNECTION_GRAPH::buildConnectionGraph()
else
{
#ifdef CONNECTIVITY_DEBUG
if( c != candidate_net_code )
wxASSERT_MSG( false, "More than one net code for a neighbor!" );
#endif
}