Skip to content

Commit 9b45520

Browse files
committed
fix windows build
1 parent 3dd00e3 commit 9b45520

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

UE4SS/src/Platform/Win32/CrashDumper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace RC
2727
LONG WINAPI ExceptionHandler(_EXCEPTION_POINTERS* exception_pointers)
2828
{
2929
const auto now = time_point_cast<seconds>(system_clock::now());
30-
const std::wstring dump_path = std::format(L"{}\\crash_{:%Y_%m_%d_%H_%M_%S}.dmp", StringType{UE4SSProgram::get_program().get_working_directory()}, now);
30+
const std::wstring dump_path = std::format(L"{}\\crash_{:%Y_%m_%d_%H_%M_%S}.dmp", SystemStringType{UE4SSProgram::get_program().get_working_directory()}, now);
3131

3232
const HANDLE file = CreateFileW(dump_path.c_str(), GENERIC_WRITE, FILE_SHARE_WRITE, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
3333

UE4SS/src/UE4SSProgram.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1459,7 +1459,7 @@ namespace RC
14591459
return m_mods_directory_str;
14601460
}
14611461

1462-
auto UE4SSProgram::get_legacy_root_directory() -> File::StringViewType
1462+
auto UE4SSProgram::get_legacy_root_directory() -> SystemStringViewType
14631463
{
14641464
return m_legacy_root_directory.c_str();
14651465
}

0 commit comments

Comments
 (0)