diff options
author | David Robillard <d@drobilla.net> | 2022-08-22 13:06:56 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-22 13:07:38 -0400 |
commit | 4f6281e52d3183ae53510d59474f6e4708da40c3 (patch) | |
tree | e8b8386b865ca57c6999946213f3b1ccba5de27d /src/Action.hpp | |
parent | 9c0d642a5397f418ba5c4882cc6b18e903af068f (diff) | |
download | patchage-4f6281e52d3183ae53510d59474f6e4708da40c3.tar.gz patchage-4f6281e52d3183ae53510d59474f6e4708da40c3.tar.bz2 patchage-4f6281e52d3183ae53510d59474f6e4708da40c3.zip |
Replace boost with standard C++17 facilities
Diffstat (limited to 'src/Action.hpp')
-rw-r--r-- | src/Action.hpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/Action.hpp b/src/Action.hpp index 688a73c..c791445 100644 --- a/src/Action.hpp +++ b/src/Action.hpp @@ -9,7 +9,7 @@ #include "Setting.hpp" #include "SignalDirection.hpp" -#include <boost/variant/variant.hpp> +#include <variant> namespace patchage { namespace action { @@ -68,22 +68,22 @@ struct ZoomOut {}; } // namespace action /// A high-level action from the user -using Action = boost::variant<action::ChangeSetting, - action::ConnectPorts, - action::DecreaseFontSize, - action::DisconnectClient, - action::DisconnectPort, - action::DisconnectPorts, - action::IncreaseFontSize, - action::MoveModule, - action::Refresh, - action::ResetFontSize, - action::SplitModule, - action::UnsplitModule, - action::ZoomFull, - action::ZoomIn, - action::ZoomNormal, - action::ZoomOut>; +using Action = std::variant<action::ChangeSetting, + action::ConnectPorts, + action::DecreaseFontSize, + action::DisconnectClient, + action::DisconnectPort, + action::DisconnectPorts, + action::IncreaseFontSize, + action::MoveModule, + action::Refresh, + action::ResetFontSize, + action::SplitModule, + action::UnsplitModule, + action::ZoomFull, + action::ZoomIn, + action::ZoomNormal, + action::ZoomOut>; } // namespace patchage |