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

This commit is contained in:
Lion Kortlepel
2022-11-13 00:29:52 +01:00
parent dd36299436
commit 152393f8bf
3 changed files with 11 additions and 10 deletions

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;