From 4f6281e52d3183ae53510d59474f6e4708da40c3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 22 Aug 2022 13:06:56 -0400 Subject: Replace boost with standard C++17 facilities --- src/Patchage.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/Patchage.cpp') diff --git a/src/Patchage.cpp b/src/Patchage.cpp index 96af631..1f3d706 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -39,9 +39,6 @@ PATCHAGE_DISABLE_FMT_WARNINGS #include PATCHAGE_RESTORE_WARNINGS -#include -#include -#include #include #include #include @@ -95,7 +92,9 @@ PATCHAGE_RESTORE_WARNINGS #include #include #include +#include #include +#include #ifdef PATCHAGE_GTK_OSX @@ -769,7 +768,7 @@ Patchage::process_events() void Patchage::on_conf_change(const Setting& setting) { - boost::apply_visitor(*this, setting); + std::visit(*this, setting); } void -- cgit v1.2.1