diff --git a/include/fmt/xchar.h b/include/fmt/xchar.h index 69e47db2..b6d57d60 100644 --- a/include/fmt/xchar.h +++ b/include/fmt/xchar.h @@ -53,6 +53,7 @@ inline auto write_loc(basic_appender out, loc_value value, if (!grouping.empty()) separator = std::wstring(1, numpunct.thousands_sep()); return value.visit(loc_writer{out, specs, separator, grouping, {}}); #endif + ignore_unused(out, value, specs, loc); return false; }