Call std::abort() on base_assert() so it acts like a breakpoint

This commit is contained in:
David Capello 2016-06-28 10:15:44 -03:00
parent 67968b0211
commit e1828ca6f3

View File

@ -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