mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-03 23:41:56 +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 += ": Assertion failed: ";
|
||||||
text += condition;
|
text += condition;
|
||||||
std::cerr << text << std::endl;
|
std::cerr << text << std::endl;
|
||||||
|
std::abort();
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user