diff --git a/src/config.cpp b/src/config.cpp index f19ff06d..299ef594 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -2,6 +2,7 @@ #include #include +#include #include #include "helpers.hpp" @@ -99,13 +100,13 @@ void EmulatorConfig::load() { } void EmulatorConfig::save() { - toml::basic_value data; + toml::basic_value data; const std::filesystem::path& path = filePath; std::error_code error; if (std::filesystem::exists(path, error)) { try { - data = toml::parse(path); + data = toml::parse(path); } catch (const std::exception& ex) { Helpers::warn("Exception trying to parse config file. Exception: %s\n", ex.what()); return;