From 95aff00802baf393cbabfcb05198ffc5f9979460 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 23 May 2011 20:20:17 +0000 Subject: 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: http://svn.drobilla.net/lad/trunk/ingen@3307 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/LV2Node.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/LV2Node.hpp') diff --git a/src/server/LV2Node.hpp b/src/server/LV2Node.hpp index 81a6113d..0e7e08ed 100644 --- a/src/server/LV2Node.hpp +++ b/src/server/LV2Node.hpp @@ -19,8 +19,8 @@ #define INGEN_ENGINE_LV2NODE_HPP #include +#include #include "lilv/lilv.h" -#include "raul/IntrusivePtr.hpp" #include "lv2/lv2plug.in/ns/ext/contexts/contexts.h" #include "types.hpp" #include "NodeImpl.hpp" @@ -59,7 +59,7 @@ public: void process(ProcessContext& context); void set_port_buffer(uint32_t voice, uint32_t port_num, - IntrusivePtr buf, SampleCount offset); + boost::intrusive_ptr buf, SampleCount offset); protected: inline LilvInstance* instance(uint32_t voice) { -- cgit v1.2.1