mirror of
https://github.com/fmtlib/fmt.git
synced 2026-09-13 14:22:26 +08:00
Suppress unused parameter warnings with FMT_USE_LOCALE=0 (#4903)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
fa9590f63f
commit
f87405f21d
@ -53,6 +53,7 @@ inline auto write_loc(basic_appender<wchar_t> out, loc_value value,
|
||||
if (!grouping.empty()) separator = std::wstring(1, numpunct.thousands_sep());
|
||||
return value.visit(loc_writer<wchar_t>{out, specs, separator, grouping, {}});
|
||||
#endif
|
||||
ignore_unused(out, value, specs, loc);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user