Pcbnew: fix override release build error.

NETINFO_ITEM::Show() method was not wrapped in #ifdef DEBUG/#endif causing
an error in release builds.
This commit is contained in:
Wayne Stambaugh 2016-09-24 16:00:09 -04:00
parent 59c81976dc
commit 8b59350e44
1 changed files with 2 additions and 0 deletions

View File

@ -174,9 +174,11 @@ public:
return wxT( "NETINFO_ITEM" ); return wxT( "NETINFO_ITEM" );
} }
#if defined(DEBUG)
void Show( int nestLevel, std::ostream& os ) const override void Show( int nestLevel, std::ostream& os ) const override
{ {
} }
#endif
const wxPoint& GetPosition() const override const wxPoint& GetPosition() const override
{ {