lib/fmt/ToBuffer: add missing template parameters
This commit is contained in:
parent
1f33ac3e98
commit
f62d61f088
@ -54,11 +54,11 @@ auto
|
||||
FmtBuffer(const S &format_str, Args&&... args) noexcept
|
||||
{
|
||||
#if FMT_VERSION >= 90000
|
||||
return VFmtBuffer(format_str,
|
||||
fmt::make_format_args(args...));
|
||||
return VFmtBuffer<size>(format_str,
|
||||
fmt::make_format_args(args...));
|
||||
#else
|
||||
return VFmtBuffer(fmt::to_string_view(format_str),
|
||||
fmt::make_args_checked<Args...>(format_str,
|
||||
args...));
|
||||
return VFmtBuffer<size>(fmt::to_string_view(format_str),
|
||||
fmt::make_args_checked<Args...>(format_str,
|
||||
args...));
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user