Added missing typename to FMT_STRING. (#1089)

* Added missing typename to FMT_STRING.

This is so that FMT_STRING can be used in a template.
This commit is contained in:
mwinterb
2019-03-20 20:37:00 -07:00
committed by Victor Zverovich
parent f0b572da05
commit 7ad3015f5b
2 changed files with 11 additions and 1 deletions

View File

@@ -3619,7 +3619,8 @@ FMT_END_NAMESPACE
} \
} result; \
/* Suppress Qt Creator warning about unused operator. */ \
(void)static_cast<fmt::basic_string_view<str::char_type>>(result); \
(void)static_cast<fmt::basic_string_view<typename str::char_type>>( \
result); \
return result; \
}()