summaryrefslogtreecommitdiffstats
path: root/src/server/LV2Block.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/LV2Block.hpp
parent7eae940654c8c81c1efc8a055a13c53fab42bf91 (diff)
downloadingen-019eeff6a7d051427ad62a288f350e66471a0462.tar.gz
ingen-019eeff6a7d051427ad62a288f350e66471a0462.tar.bz2
ingen-019eeff6a7d051427ad62a288f350e66471a0462.zip
Remove std::unique_ptr alias
Diffstat (limited to 'src/server/LV2Block.hpp')
-rw-r--r--src/server/LV2Block.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/LV2Block.hpp b/src/server/LV2Block.hpp
index 00530862..0413a245 100644
--- a/src/server/LV2Block.hpp
+++ b/src/server/LV2Block.hpp
@@ -33,6 +33,7 @@
#include <cstdint>
#include <cstdlib>
#include <cstring>
+#include <memory>
#include <mutex>
namespace ingen {
@@ -80,7 +81,8 @@ public:
LilvState* load_preset(const URI& uri) override;
- void apply_state(const UPtr<Worker>& worker, const LilvState* state) override;
+ void apply_state(const std::unique_ptr<Worker>& worker,
+ const LilvState* state) override;
boost::optional<Resource> save_preset(const URI& uri,
const Properties& props) override;