diff options
author | David Robillard <d@drobilla.net> | 2021-06-04 19:19:58 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-06-04 19:19:58 -0400 |
commit | b760e11d5f9f4d25919a566ef727164da4376062 (patch) | |
tree | 6ade88a43041b62b03247bb73b73a481c7931053 /src/server/events/Disconnect.cpp | |
parent | fef4ce2b39b1a00609122fe37e2378be2fa9319f (diff) | |
download | ingen-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/events/Disconnect.cpp')
-rw-r--r-- | src/server/events/Disconnect.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/events/Disconnect.cpp b/src/server/events/Disconnect.cpp index 93e271af..ea6bb8f0 100644 --- a/src/server/events/Disconnect.cpp +++ b/src/server/events/Disconnect.cpp @@ -35,13 +35,13 @@ #include "ingen/Node.hpp" #include "ingen/Status.hpp" #include "ingen/Store.hpp" -#include "ingen/memory.hpp" #include "raul/Array.hpp" #include "raul/Maid.hpp" #include "raul/Path.hpp" #include <cassert> #include <cstdint> +#include <memory> #include <mutex> #include <set> #include <string> @@ -167,10 +167,10 @@ Disconnect::pre_process(PreProcessContext& ctx) return Event::pre_process_done(Status::PARENT_NOT_FOUND, _msg.head); } - _impl = make_unique<Impl>(_engine, - _graph, - dynamic_cast<PortImpl*>(tail), - dynamic_cast<InputPort*>(head)); + _impl = std::make_unique<Impl>(_engine, + _graph, + dynamic_cast<PortImpl*>(tail), + dynamic_cast<InputPort*>(head)); _compiled_graph = ctx.maybe_compile(*_engine.maid(), *_graph); |