mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
Update region-factory boost-debug
This commit is contained in:
parent
fc91c217d1
commit
3aaaa7e459
1 changed files with 15 additions and 12 deletions
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include "ardour/audioregion.h"
|
||||
#include "ardour/audiosource.h"
|
||||
#include "ardour/boost_debug.h"
|
||||
#include "ardour/midi_region.h"
|
||||
#include "ardour/midi_source.h"
|
||||
#include "ardour/region.h"
|
||||
|
|
@ -36,6 +37,8 @@
|
|||
|
||||
#include "pbd/i18n.h"
|
||||
|
||||
// #define BOOST_DEBUG_REGION
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace PBD;
|
||||
using namespace std;
|
||||
|
|
@ -98,8 +101,8 @@ RegionFactory::create (boost::shared_ptr<const Region> region, bool announce, bo
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef BOOST_SP_ENABLE_DEBUG_HOOKS
|
||||
// boost_debug_shared_ptr_mark_interesting (ret.get(), "Region");
|
||||
#if defined BOOST_SP_ENABLE_DEBUG_HOOKS && defined BOOST_DEBUG_REGION
|
||||
boost_debug_shared_ptr_mark_interesting (ret.get(), "Region");
|
||||
#endif
|
||||
return ret;
|
||||
}
|
||||
|
|
@ -139,8 +142,8 @@ RegionFactory::create (boost::shared_ptr<Region> region, const PropertyList& pli
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef BOOST_SP_ENABLE_DEBUG_HOOKS
|
||||
// boost_debug_shared_ptr_mark_interesting (ret.get(), "Region");
|
||||
#if defined BOOST_SP_ENABLE_DEBUG_HOOKS && defined BOOST_DEBUG_REGION
|
||||
boost_debug_shared_ptr_mark_interesting (ret.get(), "Region");
|
||||
#endif
|
||||
return ret;
|
||||
}
|
||||
|
|
@ -180,8 +183,8 @@ RegionFactory::create (boost::shared_ptr<Region> region, MusicSample offset, con
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef BOOST_SP_ENABLE_DEBUG_HOOKS
|
||||
// boost_debug_shared_ptr_mark_interesting (ret.get(), "Region");
|
||||
#if defined BOOST_SP_ENABLE_DEBUG_HOOKS && defined BOOST_DEBUG_REGION
|
||||
boost_debug_shared_ptr_mark_interesting (ret.get(), "Region");
|
||||
#endif
|
||||
return ret;
|
||||
}
|
||||
|
|
@ -221,8 +224,8 @@ RegionFactory::create (boost::shared_ptr<Region> region, const SourceList& srcs,
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef BOOST_SP_ENABLE_DEBUG_HOOKS
|
||||
// boost_debug_shared_ptr_mark_interesting (ret.get(), "Region");
|
||||
#if defined BOOST_SP_ENABLE_DEBUG_HOOKS && defined BOOST_DEBUG_REGION
|
||||
boost_debug_shared_ptr_mark_interesting (ret.get(), "Region");
|
||||
#endif
|
||||
return ret;
|
||||
}
|
||||
|
|
@ -265,8 +268,8 @@ RegionFactory::create (const SourceList& srcs, const PropertyList& plist, bool a
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef BOOST_SP_ENABLE_DEBUG_HOOKS
|
||||
// boost_debug_shared_ptr_mark_interesting (ret.get(), "Region");
|
||||
#if defined BOOST_SP_ENABLE_DEBUG_HOOKS && defined BOOST_DEBUG_REGION
|
||||
boost_debug_shared_ptr_mark_interesting (ret.get(), "Region");
|
||||
#endif
|
||||
return ret;
|
||||
}
|
||||
|
|
@ -310,8 +313,8 @@ RegionFactory::create (SourceList& srcs, const XMLNode& node)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef BOOST_SP_ENABLE_DEBUG_HOOKS
|
||||
// boost_debug_shared_ptr_mark_interesting (ret.get(), "Region");
|
||||
#if defined BOOST_SP_ENABLE_DEBUG_HOOKS && defined BOOST_DEBUG_REGION
|
||||
boost_debug_shared_ptr_mark_interesting (ret.get(), "Region");
|
||||
#endif
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue