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