Add FMT_STRING to allow compilation with FMT_ENFORCE_COMPILE_STRING

This commit is contained in:
John Armstrong
2022-05-18 16:30:36 -07:00
parent 0d8197cc9d
commit 799802f93b
5 changed files with 9 additions and 7 deletions

View File

@@ -33,7 +33,7 @@
{ \
if (location.filename) \
{ \
err_handler_(fmt_lib::format("{} [{}({})]", ex.what(), location.filename, location.line)); \
err_handler_(fmt_lib::format(SPDLOG_FMT_STRING("{} [{}({})]"), ex.what(), location.filename, location.line)); \
} \
else \
{ \