#ifdef-ize all/most uses of the boost debug hooks API
[ardour.git] / libs / ardour / route.cc
index 2e60f0fb767029894e73301558d0cc6f900a420e..68a4019cf75dc7b94a13ac9595779590b688080d 100644 (file)
@@ -120,7 +120,9 @@ Route::init ()
         /* panning */
         
         Pannable* p = new Pannable (_session);
+#ifdef BOOST_SP_ENABLE_DEBUG_HOOKS
        boost_debug_shared_ptr_mark_interesting (p, "Pannable");
+#endif
         _pannable.reset (p);
 
        /* input and output objects */