diff options
author | David Robillard <d@drobilla.net> | 2020-08-02 13:43:01 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 13:43:49 +0200 |
commit | 019eeff6a7d051427ad62a288f350e66471a0462 (patch) | |
tree | e43854a6241ba52f244ce75aa8d500849968d4d4 /src/server/RunContext.hpp | |
parent | 7eae940654c8c81c1efc8a055a13c53fab42bf91 (diff) | |
download | ingen-019eeff6a7d051427ad62a288f350e66471a0462.tar.gz ingen-019eeff6a7d051427ad62a288f350e66471a0462.tar.bz2 ingen-019eeff6a7d051427ad62a288f350e66471a0462.zip |
Remove std::unique_ptr alias
Diffstat (limited to 'src/server/RunContext.hpp')
-rw-r--r-- | src/server/RunContext.hpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/server/RunContext.hpp b/src/server/RunContext.hpp index cf2bfe10..10414bde 100644 --- a/src/server/RunContext.hpp +++ b/src/server/RunContext.hpp @@ -24,6 +24,7 @@ #include "raul/RingBuffer.hpp" #include <cstdint> +#include <memory> #include <thread> namespace ingen { @@ -143,11 +144,11 @@ public: protected: void run(); - Engine& _engine; ///< Engine we're running in - Raul::RingBuffer* _event_sink; ///< Port updates from process context - Task* _task; ///< Currently executing task - UPtr<std::thread> _thread; ///< Thread (null for main run context) - unsigned _id; ///< Context ID + Engine& _engine; ///< Engine we're running in + Raul::RingBuffer* _event_sink; ///< Updates from process context + Task* _task; ///< Currently executing task + std::unique_ptr<std::thread> _thread; ///< Thread (or null for main) + unsigned _id; ///< Context ID FrameTime _start; ///< Start frame of this cycle, timeline relative FrameTime _end; ///< End frame of this cycle, timeline relative |