fix crash printer compilation for msys2 on windows

This commit is contained in:
otavepto 2024-05-23 02:17:52 +03:00
parent 7ddd5add20
commit 7a93f2f0e1

View File

@ -104,7 +104,7 @@ static void log_exception(LPEXCEPTION_POINTERS ex_pointers)
return;
}
std::ofstream file(logs_filepath, std::ios::app);
std::ofstream file(std::filesystem::path(logs_filepath), std::ios::app);
auto now = std::chrono::system_clock::now();
auto t_now = std::chrono::system_clock::to_time_t(now);