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]]
|
[[noreturn]]
|
||||||
static inline void Abort(const std::wstring& msg) {
|
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);
|
std::exit(1);
|
||||||
}
|
}
|
||||||
[[noreturn]]
|
[[noreturn]]
|
||||||
|
Reference in New Issue
Block a user