From 8b59350e44a9894f02977ae26da166b239ef7da3 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Sat, 24 Sep 2016 16:00:09 -0400 Subject: [PATCH] Pcbnew: fix override release build error. NETINFO_ITEM::Show() method was not wrapped in #ifdef DEBUG/#endif causing an error in release builds. --- pcbnew/class_netinfo.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/class_netinfo.h b/pcbnew/class_netinfo.h index 3e30c0815b..f77b0e30bc 100644 --- a/pcbnew/class_netinfo.h +++ b/pcbnew/class_netinfo.h @@ -174,9 +174,11 @@ public: return wxT( "NETINFO_ITEM" ); } +#if defined(DEBUG) void Show( int nestLevel, std::ostream& os ) const override { } +#endif const wxPoint& GetPosition() const override {