mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-29 00:23:48 +00:00
Call std::abort() on base_assert() so it acts like a breakpoint
This commit is contained in:
parent
67968b0211
commit
e1828ca6f3
@ -48,6 +48,7 @@ int base_assert(const char* condition, const char* file, int lineNum)
|
||||
text += ": Assertion failed: ";
|
||||
text += condition;
|
||||
std::cerr << text << std::endl;
|
||||
std::abort();
|
||||
return 1;
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user