diff options
author | David Robillard <d@drobilla.net> | 2022-12-13 01:19:10 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-12-14 18:04:27 -0500 |
commit | fa611574101cd657a0716aaf2028b5bc852d4a8a (patch) | |
tree | 7fce4411abeaa06a5eb33ebcb13c317743d4cada /src/server/LV2Block.hpp | |
parent | 4b56cdf7a925dafd5e4ac085874d2afe294ec456 (diff) | |
download | ingen-fa611574101cd657a0716aaf2028b5bc852d4a8a.tar.gz ingen-fa611574101cd657a0716aaf2028b5bc852d4a8a.tar.bz2 ingen-fa611574101cd657a0716aaf2028b5bc852d4a8a.zip |
Use std::optional
Diffstat (limited to 'src/server/LV2Block.hpp')
-rw-r--r-- | src/server/LV2Block.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/LV2Block.hpp b/src/server/LV2Block.hpp index fa3979cd..253008c0 100644 --- a/src/server/LV2Block.hpp +++ b/src/server/LV2Block.hpp @@ -33,7 +33,6 @@ #include <boost/intrusive/slist.hpp> #include <boost/intrusive/slist_hook.hpp> -#include <boost/optional/optional.hpp> #include <cstdint> #include <cstdlib> @@ -41,6 +40,7 @@ #include <filesystem> #include <memory> #include <mutex> +#include <optional> namespace raul { class Symbol; @@ -113,8 +113,8 @@ public: 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; + std::optional<Resource> save_preset(const URI& uri, + const Properties& props) override; void set_port_buffer(uint32_t voice, uint32_t port_num, |