From d81af14b3f74d4fe930f6ca92a771d20152bbc9e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 7 Jan 2010 15:56:51 +0000 Subject: Fix compilation with ancient boost intrusive_ptr (fix ticket #467). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2363 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/ConnectionImpl.cpp | 3 ++- src/engine/PortImpl.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/engine/ConnectionImpl.cpp b/src/engine/ConnectionImpl.cpp index a266a5ef..3beca4c8 100644 --- a/src/engine/ConnectionImpl.cpp +++ b/src/engine/ConnectionImpl.cpp @@ -97,7 +97,8 @@ ConnectionImpl::apply_poly(Raul::Maid& maid, uint32_t poly) // Recycle buffer if it's no longer needed if (!must_mix() && _local_buffer) - _local_buffer.reset(); + _local_buffer.reset(NULL); + //_local_buffer.reset(); // old boost is missing this } diff --git a/src/engine/PortImpl.cpp b/src/engine/PortImpl.cpp index ce4fedbf..62206710 100644 --- a/src/engine/PortImpl.cpp +++ b/src/engine/PortImpl.cpp @@ -88,7 +88,8 @@ PortImpl::PortImpl(BufferFactory& bufs, PortImpl::~PortImpl() { for (uint32_t v = 0; v < _poly; ++v) - _buffers->at(v).reset(); + _buffers->at(v).reset(NULL); // old boost is missing this + //_buffers->at(v).reset(); // old boost is missing this delete _buffers; } -- cgit v1.2.1