From fe2f3a54c8101fe583ec5a343d6fd463b2dceff9 Mon Sep 17 00:00:00 2001 From: Peter Repukat Date: Sat, 24 Sep 2022 18:34:34 +0200 Subject: [PATCH] Dump config to log as string; not wstring leave out path string conversion hack --- GlosSITarget/Settings.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/GlosSITarget/Settings.h b/GlosSITarget/Settings.h index 9e25bc9..e341348 100644 --- a/GlosSITarget/Settings.h +++ b/GlosSITarget/Settings.h @@ -156,8 +156,7 @@ inline void Parse(std::wstring arg1) json_file.close(); - // c++ is stupid... - spdlog::debug(L"Read config file \"{}\"; config: {}", path.wstring(), std::filesystem::path(json.dump()).wstring()); + spdlog::debug("Read config file \"{}\"; config: {}", path.string(), json.dump()); if (launch.launch) { launch.isUWP = checkIsUwp(launch.launchPath);