From b760e11d5f9f4d25919a566ef727164da4376062 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 4 Jun 2021 19:19:58 -0400 Subject: 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. --- src/server/Worker.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/server/Worker.cpp') 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(&Worker::run, this); + _thread = std::make_unique(&Worker::run, this); } } -- cgit v1.2.1