summaryrefslogtreecommitdiffstats
path: root/src/Setting.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Setting.hpp')
-rw-r--r--src/Setting.hpp29
1 files changed, 14 insertions, 15 deletions
diff --git a/src/Setting.hpp b/src/Setting.hpp
index 1e1aa6f..4bcfc81 100644
--- a/src/Setting.hpp
+++ b/src/Setting.hpp
@@ -7,9 +7,8 @@
#include "Coord.hpp"
#include "PortType.hpp"
-#include <boost/variant/variant.hpp>
-
#include <cstdint>
+#include <variant>
namespace patchage {
namespace setting {
@@ -70,19 +69,19 @@ struct Zoom {
} // namespace setting
/// A configuration setting
-using Setting = boost::variant<setting::AlsaAttached,
- setting::FontSize,
- setting::HumanNames,
- setting::JackAttached,
- setting::MessagesHeight,
- setting::MessagesVisible,
- setting::PortColor,
- setting::SortedPorts,
- setting::SprungLayout,
- setting::ToolbarVisible,
- setting::WindowLocation,
- setting::WindowSize,
- setting::Zoom>;
+using Setting = std::variant<setting::AlsaAttached,
+ setting::FontSize,
+ setting::HumanNames,
+ setting::JackAttached,
+ setting::MessagesHeight,
+ setting::MessagesVisible,
+ setting::PortColor,
+ setting::SortedPorts,
+ setting::SprungLayout,
+ setting::ToolbarVisible,
+ setting::WindowLocation,
+ setting::WindowSize,
+ setting::Zoom>;
} // namespace patchage