diff options
Diffstat (limited to 'src/server/InputPort.hpp')
-rw-r--r-- | src/server/InputPort.hpp | 6 |
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, |