fix gcc issue

This commit is contained in:
Walter Gray 2020-12-07 22:20:29 -08:00
parent 9fafb14f29
commit 2489501c39

View File

@ -27,9 +27,11 @@
// Exercise the API to verify that everything we expect to can compile.
void TestFormatApi() {
(void)fmt::format(FMT_STRING("noop"));
(void)fmt::format(FMT_STRING("{}"), 42);
(void)fmt::format(FMT_STRING(L"{}"), 42);
#if !FMT_GCC_VERSION
(void)fmt::format(FMT_STRING("noop"));
#endif
(void)fmt::to_string(42);
(void)fmt::to_wstring(42);