diff options
Diffstat (limited to 'src/config.cpp')
-rw-r--r-- | src/config.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/config.cpp b/src/config.cpp index 4f5847c..85cc413 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -24,7 +24,9 @@ #include <cereal/archives/json.hpp> #include <fstream> -void Config::save(void) const +std::map<std::string, std::variant<int, double, std::string>> Config::values; + +void Config::save(void) { if (std::ofstream file (fileName); file.good()) { cereal::JSONOutputArchive archive (file); |