Makes abort message more urgent.
This commit is contained in:
parent
5ba43706f4
commit
97bc604901
@ -49,7 +49,7 @@ static inline uint64_t XorShift(uint64_t x) {
|
||||
|
||||
[[noreturn]]
|
||||
static inline void Abort(const std::wstring& msg) {
|
||||
MessageBox(NULL, msg.c_str(), L"PROGRAM ABORTED", MB_OK);
|
||||
MessageBox(NULL, msg.c_str(), L"PROGRAM ABORTED", MB_ICONWARNING);
|
||||
std::exit(1);
|
||||
}
|
||||
[[noreturn]]
|
||||
|
Reference in New Issue
Block a user