diff --git a/src/Client/System/GameDirectoryGuesser.cpp b/src/Client/System/GameDirectoryGuesser.cpp index c0f3dd9..a24a3cd 100644 --- a/src/Client/System/GameDirectoryGuesser.cpp +++ b/src/Client/System/GameDirectoryGuesser.cpp @@ -22,8 +22,8 @@ std::vector GameDirectoryGuesser::getDirectoryList() SHGetFolderPath(nullptr, CSIDL_PROGRAM_FILES, nullptr, 0, programFilesDirectory); SHGetFolderPath(nullptr, CSIDL_PROGRAM_FILESX86, nullptr, 0, programFilesX86Directory); - std::wstring programFilesW(programFilesDirectory); - std::wstring programFilesX86W(programFilesX86Directory); + std::basic_string programFilesW(programFilesDirectory); + std::basic_string programFilesX86W(programFilesX86Directory); std::string programFilesA(programFilesW.begin(), programFilesW.end()); std::string programFilesX86A(programFilesX86W.begin(), programFilesX86W.end());