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 /src/client | |
parent | fa611574101cd657a0716aaf2028b5bc852d4a8a (diff) | |
download | ingen-513296b868df8a3c5a55290d3146cba017418926.tar.gz ingen-513296b868df8a3c5a55290d3146cba017418926.tar.bz2 ingen-513296b868df8a3c5a55290d3146cba017418926.zip |
Use std::variant
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/ClientStore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index 80143265..02f28324 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -33,7 +33,6 @@ #include "ingen/paths.hpp" #include "raul/Path.hpp" -#include <boost/variant/apply_visitor.hpp> #include <sigc++/functors/mem_fun.h> #include <cassert> @@ -41,6 +40,7 @@ #include <memory> #include <string> #include <utility> +#include <variant> namespace ingen { namespace client { @@ -244,7 +244,7 @@ ClientStore::operator()(const Move& msg) void ClientStore::message(const Message& msg) { - boost::apply_visitor(*this, msg); + std::visit(*this, msg); } void |