diff options
Diffstat (limited to 'src/server/RunContext.hpp')
-rw-r--r-- | src/server/RunContext.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/RunContext.hpp b/src/server/RunContext.hpp index 15e65806..3a317af3 100644 --- a/src/server/RunContext.hpp +++ b/src/server/RunContext.hpp @@ -23,6 +23,7 @@ #include "lv2/urid/urid.h" #include "raul/RingBuffer.hpp" +#include "ingen/types.hpp" #include "types.hpp" namespace ingen { @@ -144,7 +145,7 @@ protected: Engine& _engine; ///< Engine we're running in Raul::RingBuffer* _event_sink; ///< Port updates from process context Task* _task; ///< Currently executing task - std::thread* _thread; ///< Thread (null for main run context) + UPtr<std::thread> _thread; ///< Thread (null for main run context) unsigned _id; ///< Context ID FrameTime _start; ///< Start frame of this cycle, timeline relative |