summaryrefslogtreecommitdiffstats
path: root/src/server/Worker.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-06-04 19:19:58 -0400
committerDavid Robillard <d@drobilla.net>2021-06-04 19:19:58 -0400
commitb760e11d5f9f4d25919a566ef727164da4376062 (patch)
tree6ade88a43041b62b03247bb73b73a481c7931053 /src/server/Worker.cpp
parentfef4ce2b39b1a00609122fe37e2378be2fa9319f (diff)
downloadingen-b760e11d5f9f4d25919a566ef727164da4376062.tar.gz
ingen-b760e11d5f9f4d25919a566ef727164da4376062.tar.bz2
ingen-b760e11d5f9f4d25919a566ef727164da4376062.zip
Switch to C++14 and fix build with GCC 10
GCC was having problems with this make_unique overload, but I don't care about C++11 compatibility at this point anyway, so it's easiest to just remove it.
Diffstat (limited to 'src/server/Worker.cpp')
-rw-r--r--src/server/Worker.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/Worker.cpp b/src/server/Worker.cpp
index 8e8f3e5e..77d98612 100644
--- a/src/server/Worker.cpp
+++ b/src/server/Worker.cpp
@@ -22,7 +22,6 @@
#include "ingen/Log.hpp"
#include "ingen/Node.hpp"
-#include "ingen/memory.hpp"
#include "lv2/core/lv2.h"
#include "lv2/worker/worker.h"
@@ -127,7 +126,7 @@ Worker::Worker(Log& log, uint32_t buffer_size, bool synchronous)
, _synchronous(synchronous)
{
if (!synchronous) {
- _thread = make_unique<std::thread>(&Worker::run, this);
+ _thread = std::make_unique<std::thread>(&Worker::run, this);
}
}