path: root/src/server/InputPort.cpp
diff options
authorDavid Robillard <>2011-05-23 20:20:17 +0000
committerDavid Robillard <>2011-05-23 20:20:17 +0000
commit95aff00802baf393cbabfcb05198ffc5f9979460 (patch)
treee743d0f3c5b1179cca91ea1a63e6ac77f9ab90f2 /src/server/InputPort.cpp
parent2f86a3e8fd1e848375981ec62bbf600885b1f841 (diff)
Apply patch from pgiblox in ticket #694 to fix compilation without Raul::IntrusivePtr:
"Since Raul::IntrusivePtr was removed, ingen_server no longer compiles. We could either add another #define for IntrusivePtr, or just use boost::intrusive_ptr directly. Going with the direct approach since server seems to use boost::shared_ptr directly as well." I would like easy portability to c++0x pointers, but unfortunately there is no intrusive_ptr there... it's an easy search/replace anyway, so this will do for now. git-svn-id: a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/InputPort.cpp')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp
index a79f808b..2f871e44 100644
--- a/src/server/InputPort.cpp
+++ b/src/server/InputPort.cpp
@@ -175,7 +175,7 @@ InputPort::pre_process(Context& context)
for (Connections::iterator c = _connections.begin(); c != _connections.end(); ++c)
max_num_srcs += (*c)->src_port()->poly();
- IntrusivePtr<Buffer> srcs[max_num_srcs];
+ boost::intrusive_ptr<Buffer> srcs[max_num_srcs];
if (_connections.empty()) {
for (uint32_t v = 0; v < _poly; ++v) {