switch boost variant for std::variant for settings, for sol2

This commit is contained in:
Lion Kortlepel committed 2022-11-23 09:34:50 +01:00
1 parent dd36299436
commit 152393f8bf
3 files changed
+11 -10

No files matched your search

+2 -1
View File
@@ -28,6 +28,7 @@ namespace fs = std::filesystem;
#include <boost/variant.hpp>
#include <chrono>
#include <variant>
using TimeType = std::chrono::system_clock;
@@ -84,7 +85,7 @@ class Application final {
public:
// types
using SettingValue = variant<std::string, bool, int>;
using SettingValue = std::variant<std::string, bool, int>;
using SettingsMap = flat_map<std::string_view, SettingValue>;
static SettingsMap mSettings;