This commit is contained in:
parent
48d139997b
commit
e2c7e0f632
@ -162,7 +162,7 @@ void assert_failed(
|
|||||||
) {
|
) {
|
||||||
if (!condition) {
|
if (!condition) {
|
||||||
std::cerr << "Assertion failed at " << location.file_name() << ":" << location.line() << ": "
|
std::cerr << "Assertion failed at " << location.file_name() << ":" << location.line() << ": "
|
||||||
<< location.function_name() << "(): " << message << "\n";
|
<< location.function_name() << ": " << message << "\n";
|
||||||
print_stacktrace();
|
print_stacktrace();
|
||||||
std::abort();
|
std::abort();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user