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

@@ -191,7 +191,7 @@ void TConfig::ParseFromFile(std::string_view name) {
void TConfig::PrintDebug() {
for (const auto& [k, v] : Application::mSettings) {
if (k == StrAuthKey) {
beammp_debugf("AuthKey: length {}", boost::get<std::string>(v).size());
beammp_debugf("AuthKey: length {}", std::get<std::string>(v).size());
continue;
}
beammp_debugf("{}: {}", k, Application::SettingToString(v));