diff options
author | David Robillard <d@drobilla.net> | 2022-12-13 01:21:23 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-12-14 18:04:27 -0500 |
commit | 513296b868df8a3c5a55290d3146cba017418926 (patch) | |
tree | 995f1325f06d731a2c86627330d36b6453867334 /include | |
parent | fa611574101cd657a0716aaf2028b5bc852d4a8a (diff) | |
download | ingen-513296b868df8a3c5a55290d3146cba017418926.tar.gz ingen-513296b868df8a3c5a55290d3146cba017418926.tar.bz2 ingen-513296b868df8a3c5a55290d3146cba017418926.zip |
Use std::variant
Diffstat (limited to 'include')
-rw-r--r-- | include/ingen/Message.hpp | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/include/ingen/Message.hpp b/include/ingen/Message.hpp index ca618514..de62f459 100644 --- a/include/ingen/Message.hpp +++ b/include/ingen/Message.hpp @@ -24,10 +24,9 @@ #include "ingen/URI.hpp" #include "raul/Path.hpp" -#include <boost/variant/variant.hpp> - #include <cstdint> #include <string> +#include <variant> namespace ingen { @@ -121,22 +120,22 @@ struct Undo { int32_t seq; }; -using Message = boost::variant<BundleBegin, - BundleEnd, - Connect, - Copy, - Del, - Delta, - Disconnect, - DisconnectAll, - Error, - Get, - Move, - Put, - Redo, - Response, - SetProperty, - Undo>; +using Message = std::variant<BundleBegin, + BundleEnd, + Connect, + Copy, + Del, + Delta, + Disconnect, + DisconnectAll, + Error, + Get, + Move, + Put, + Redo, + Response, + SetProperty, + Undo>; } // namespace ingen |