summaryrefslogtreecommitdiffstats
path: root/src/server/InputPort.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-01-14 19:01:03 +0000
committerDavid Robillard <d@drobilla.net>2012-01-14 19:01:03 +0000
commit35754a69e1653dd2586670031622fb2b01a220d1 (patch)
treee3bc4aeca01f20c6e08c099c6ce385cec60ca713 /src/server/InputPort.hpp
parentf552cd3e49699ba96971265f9c8238761eb9c3bf (diff)
downloadingen-35754a69e1653dd2586670031622fb2b01a220d1.tar.gz
ingen-35754a69e1653dd2586670031622fb2b01a220d1.tar.bz2
ingen-35754a69e1653dd2586670031622fb2b01a220d1.zip
Fix crashes on shutdown (fix #805).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3942 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/InputPort.hpp')
-rw-r--r--src/server/InputPort.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/server/InputPort.hpp b/src/server/InputPort.hpp
index ccd651c7..542c3dd1 100644
--- a/src/server/InputPort.hpp
+++ b/src/server/InputPort.hpp
@@ -22,7 +22,7 @@
#include <cstdlib>
#include <string>
-#include <boost/intrusive/list.hpp>
+#include <boost/intrusive/slist.hpp>
#include "raul/SharedPtr.hpp"
@@ -63,7 +63,9 @@ public:
virtual ~InputPort() {}
- typedef boost::intrusive::list<ConnectionImpl> Connections;
+ typedef boost::intrusive::slist<ConnectionImpl,
+ boost::intrusive::constant_time_size<false>
+ > Connections;
void add_connection(ConnectionImpl* c);
ConnectionImpl* remove_connection(ProcessContext& context,