Workaround a bug in gcc

This commit is contained in:
Victor Zverovich
2020-07-07 06:06:50 -07:00
parent a29a01d304
commit fbf3b943cc
3 changed files with 11 additions and 6 deletions
+2 -2
View File
@@ -3482,9 +3482,9 @@ extern template int snprintf_float<long double>(long double value,
template <typename S, typename Char = char_t<S>,
FMT_ENABLE_IF(detail::is_string<S>::value)>
inline typename buffer_context<Char>::iterator vformat_to(
inline typename FMT_BUFFER_CONTEXT(Char)::iterator vformat_to(
detail::buffer<Char>& buf, const S& format_str,
basic_format_args<buffer_context<type_identity_t<Char>>> args) {
basic_format_args<FMT_BUFFER_CONTEXT(type_identity_t<Char>)> args) {
return detail::vformat_to(buf, to_string_view(format_str), args);
}