diff options
Diffstat (limited to 'libs/ardour/region_factory.cc')
-rw-r--r-- | libs/ardour/region_factory.cc | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/libs/ardour/region_factory.cc b/libs/ardour/region_factory.cc index 1242ec8aba..9709467281 100644 --- a/libs/ardour/region_factory.cc +++ b/libs/ardour/region_factory.cc @@ -37,8 +37,6 @@ #include "pbd/i18n.h" -// #define BOOST_DEBUG_REGION - using namespace ARDOUR; using namespace PBD; using namespace std; @@ -101,9 +99,7 @@ RegionFactory::create (boost::shared_ptr<const Region> region, bool announce, bo } } -#if defined BOOST_SP_ENABLE_DEBUG_HOOKS && defined BOOST_DEBUG_REGION - boost_debug_shared_ptr_mark_interesting (ret.get(), "Region"); -#endif + BOOST_MARK_REGION (ret); return ret; } @@ -142,9 +138,7 @@ RegionFactory::create (boost::shared_ptr<Region> region, const PropertyList& pli } } -#if defined BOOST_SP_ENABLE_DEBUG_HOOKS && defined BOOST_DEBUG_REGION - boost_debug_shared_ptr_mark_interesting (ret.get(), "Region"); -#endif + BOOST_MARK_REGION (ret); return ret; } @@ -183,9 +177,7 @@ RegionFactory::create (boost::shared_ptr<Region> region, MusicSample offset, con } } -#if defined BOOST_SP_ENABLE_DEBUG_HOOKS && defined BOOST_DEBUG_REGION - boost_debug_shared_ptr_mark_interesting (ret.get(), "Region"); -#endif + BOOST_MARK_REGION (ret); return ret; } @@ -224,9 +216,7 @@ RegionFactory::create (boost::shared_ptr<Region> region, const SourceList& srcs, } } -#if defined BOOST_SP_ENABLE_DEBUG_HOOKS && defined BOOST_DEBUG_REGION - boost_debug_shared_ptr_mark_interesting (ret.get(), "Region"); -#endif + BOOST_MARK_REGION (ret); return ret; } @@ -268,9 +258,7 @@ RegionFactory::create (const SourceList& srcs, const PropertyList& plist, bool a } } -#if defined BOOST_SP_ENABLE_DEBUG_HOOKS && defined BOOST_DEBUG_REGION - boost_debug_shared_ptr_mark_interesting (ret.get(), "Region"); -#endif + BOOST_MARK_REGION (ret); return ret; } @@ -313,9 +301,7 @@ RegionFactory::create (SourceList& srcs, const XMLNode& node) } } -#if defined BOOST_SP_ENABLE_DEBUG_HOOKS && defined BOOST_DEBUG_REGION - boost_debug_shared_ptr_mark_interesting (ret.get(), "Region"); -#endif + BOOST_MARK_REGION (ret); return ret; } |