From 158875a962a185f66ceb0bf459b93aae0a30091f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucca=20Jim=C3=A9nez=20K=C3=B6nings?= Date: Tue, 7 May 2024 17:25:43 +0200 Subject: [PATCH] Remove debug code for new Settings implementation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lucca Jiménez Könings --- src/TConfig.cpp | 1 - src/main.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/src/TConfig.cpp b/src/TConfig.cpp index 923b770..c3d4b90 100644 --- a/src/TConfig.cpp +++ b/src/TConfig.cpp @@ -238,7 +238,6 @@ template overloaded(Ts...) -> overloaded; void TConfig::TryReadValue(toml::value& Table, const std::string& Category, const std::string_view& Key, const std::string_view& Env, Settings::Key key) { - beammp_infof("SettingsSingletonMap Size: {}", Application::SettingsSingleton.SettingsMap.size()); if (!Env.empty()) { if (const char* envp = std::getenv(Env.data()); envp != nullptr && std::strcmp(envp, "") != 0) { diff --git a/src/main.cpp b/src/main.cpp index d3f1473..cb5003d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -167,7 +167,6 @@ int BeamMPServerMain(MainArguments Arguments) { SetupSignalHandlers(); Settings settings {}; - settings.SettingsMap.emplace(Settings::Key::General_Name, Settings::SettingsTypeVariant { "Your mom" }); beammp_infof("Server name set in new impl: {}", settings.getAsString(Settings::Key::General_Name)); bool Shutdown = false;