summaryrefslogtreecommitdiffstats
path: root/src/server/Worker.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-02 13:43:01 +0200
committerDavid Robillard <d@drobilla.net>2020-08-02 13:43:49 +0200
commit019eeff6a7d051427ad62a288f350e66471a0462 (patch)
treee43854a6241ba52f244ce75aa8d500849968d4d4 /src/server/Worker.hpp
parent7eae940654c8c81c1efc8a055a13c53fab42bf91 (diff)
downloadingen-019eeff6a7d051427ad62a288f350e66471a0462.tar.gz
ingen-019eeff6a7d051427ad62a288f350e66471a0462.tar.bz2
ingen-019eeff6a7d051427ad62a288f350e66471a0462.zip
Remove std::unique_ptr alias
Diffstat (limited to 'src/server/Worker.hpp')
-rw-r--r--src/server/Worker.hpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/server/Worker.hpp b/src/server/Worker.hpp
index ae7e9f1e..cc79629c 100644
--- a/src/server/Worker.hpp
+++ b/src/server/Worker.hpp
@@ -24,6 +24,7 @@
#include "raul/Semaphore.hpp"
#include <cstdint>
+#include <memory>
#include <thread>
namespace ingen {
@@ -59,15 +60,15 @@ public:
private:
SPtr<Schedule> _schedule;
- Log& _log;
- Raul::Semaphore _sem;
- Raul::RingBuffer _requests;
- Raul::RingBuffer _responses;
- uint8_t* const _buffer;
- const uint32_t _buffer_size;
- UPtr<std::thread> _thread;
- bool _exit_flag;
- bool _synchronous;
+ Log& _log;
+ Raul::Semaphore _sem;
+ Raul::RingBuffer _requests;
+ Raul::RingBuffer _responses;
+ uint8_t* const _buffer;
+ const uint32_t _buffer_size;
+ std::unique_ptr<std::thread> _thread;
+ bool _exit_flag;
+ bool _synchronous;
void run();
};