Fix assertion failure format string
This commit is contained in:
parent
50483783cb
commit
4db73b1856
@ -61,14 +61,14 @@ namespace detail {
|
||||
if(message == "") {
|
||||
throw internal_error(
|
||||
"Cpptrace {} failed at {}:{}: {}\n"
|
||||
" %s(%s);\n",
|
||||
" {}({});\n",
|
||||
action, location.file, location.line, signature,
|
||||
name, expression
|
||||
);
|
||||
} else {
|
||||
throw internal_error(
|
||||
"Cpptrace {} failed at {}:{}: {}: {}\n"
|
||||
" %s(%s);\n",
|
||||
" {}({});\n",
|
||||
action, location.file, location.line, signature, message.c_str(),
|
||||
name, expression
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user