summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-01-07 15:56:51 +0000
committerDavid Robillard <d@drobilla.net>2010-01-07 15:56:51 +0000
commitd81af14b3f74d4fe930f6ca92a771d20152bbc9e (patch)
tree22d8bd9e825c84dc425d9238e79f580a45493c7a /src/engine
parent58f7a756e47cc0f0679fefbb825f2b39766a30ea (diff)
downloadingen-d81af14b3f74d4fe930f6ca92a771d20152bbc9e.tar.gz
ingen-d81af14b3f74d4fe930f6ca92a771d20152bbc9e.tar.bz2
ingen-d81af14b3f74d4fe930f6ca92a771d20152bbc9e.zip
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
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/ConnectionImpl.cpp3
-rw-r--r--src/engine/PortImpl.cpp3
2 files changed, 4 insertions, 2 deletions
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;
}