From 799a6672ce6682dfb277c751774d360bf5d85726 Mon Sep 17 00:00:00 2001 From: alk <45172705+altalk23@users.noreply.github.com> Date: Mon, 1 May 2023 15:15:27 +0300 Subject: [PATCH] Update util.cpp --- loader/src/platform/windows/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/src/platform/windows/util.cpp b/loader/src/platform/windows/util.cpp index bd2accb0..75edbd05 100644 --- a/loader/src/platform/windows/util.cpp +++ b/loader/src/platform/windows/util.cpp @@ -119,7 +119,7 @@ ghc::filesystem::path utils::file::current_path() { std::array szFileName; GetModuleFileName(NULL, szFileName.data(), MAX_PATH); - ghc::filesystem::path path(szFileName); + ghc::filesystem::path path(szFileName.data()); auto currentPath = path.parent_path(); return currentPath; }