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/Configuration.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/Configuration.hpp')
-rw-r--r-- | src/Configuration.hpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/Configuration.hpp b/src/Configuration.hpp index 641d2b7..7837cd0 100644 --- a/src/Configuration.hpp +++ b/src/Configuration.hpp @@ -9,11 +9,10 @@ #include "Setting.hpp" #include "SignalDirection.hpp" -#include <boost/optional/optional.hpp> - #include <cstdint> #include <functional> #include <map> +#include <optional> #include <string> #include <tuple> @@ -113,10 +112,10 @@ private: : split(s) {} - boost::optional<Coord> input_location; - boost::optional<Coord> output_location; - boost::optional<Coord> inout_location; - bool split; + std::optional<Coord> input_location; + std::optional<Coord> output_location; + std::optional<Coord> inout_location; + bool split; }; std::map<std::string, ModuleSettings> _module_settings; |