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

@@ -241,7 +241,7 @@ struct formatter<spdlog::details::dump_info<T>, char>
if (put_positions)
{
spdlog::fmt_lib::format_to(inserter, "{:04X}: ", pos);
spdlog::fmt_lib::format_to(inserter, SPDLOG_FMT_STRING("{:04X}: "), pos);
}
}
};