don't display debug message in no-debug builds
authorRobin Gareus <robin@gareus.org>
Mon, 3 Feb 2014 15:54:07 +0000 (16:54 +0100)
committerRobin Gareus <robin@gareus.org>
Mon, 3 Feb 2014 16:00:03 +0000 (17:00 +0100)
gtk2_ardour/plugin_ui.cc

index 3f523a82d202872a06857a1c999ad9d42152d0dd..dcf89da4daf4d3e587d53c98e1cd722e6f37f92b 100644 (file)
@@ -161,7 +161,9 @@ PluginUIWindow::PluginUIWindow (
 
 PluginUIWindow::~PluginUIWindow ()
 {
+#ifdef NDEBUG
        cerr << "PluginWindow deleted for " << this << endl;
+#endif
        delete _pluginui;
 }