Remove connectivity debug statements

This commit is contained in:
Seth Hillbrand 2018-07-10 19:57:13 -07:00
parent dc1736eb87
commit 589e5b9ad7
1 changed files with 0 additions and 14 deletions

View File

@ -321,20 +321,6 @@ void CN_CONNECTIVITY_ALGO::searchConnections()
for( auto item : garbage ) for( auto item : garbage )
delete item; delete item;
#ifdef CONNECTIVITY_DEBUG
for( auto item : m_padList )
if( all.find( item->Parent() ) == all.end() ) { printf("Failing pad : %p\n", item->Parent() ); assert ( false ); }
for( auto item : m_viaList )
if( all.find( item->Parent() ) == all.end() ) { printf("Failing via : %p\n", item->Parent() ); assert ( false ); }
for( auto item : m_trackList )
if( all.find( item->Parent() ) == all.end() ) { printf("Failing track : %p\n", item->Parent() ); assert ( false ); }
for( auto item : m_zoneList )
if( all.find( item->Parent() ) == all.end() ) { printf("Failing zome : %p\n", item->Parent() ); assert ( false ); }
#endif
#ifdef PROFILE #ifdef PROFILE
garbage_collection.Show(); garbage_collection.Show();
PROF_COUNTER search_cnt( "search-connections" ); PROF_COUNTER search_cnt( "search-connections" );