fix crash printer compilation for msys2 on windows
This commit is contained in:
parent
7ddd5add20
commit
7a93f2f0e1
@ -104,7 +104,7 @@ static void log_exception(LPEXCEPTION_POINTERS ex_pointers)
|
|||||||
return;
|
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 now = std::chrono::system_clock::now();
|
||||||
auto t_now = std::chrono::system_clock::to_time_t(now);
|
auto t_now = std::chrono::system_clock::to_time_t(now);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user