mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-03 23:01:03 +00:00
Fix ostream.h build
This commit is contained in:
parent
2b5acad4a9
commit
87a0408c64
@ -142,7 +142,7 @@ inline void vprint(std::basic_ostream<Char> &os,
|
|||||||
\endrst
|
\endrst
|
||||||
*/
|
*/
|
||||||
template <typename S, typename... Args>
|
template <typename S, typename... Args>
|
||||||
inline typename std::enable_if<internal::is_format_string<S>::value>::type
|
inline typename std::enable_if<internal::is_string<S>::value>::type
|
||||||
print(std::basic_ostream<FMT_CHAR(S)> &os, const S &format_str,
|
print(std::basic_ostream<FMT_CHAR(S)> &os, const S &format_str,
|
||||||
const Args & ... args) {
|
const Args & ... args) {
|
||||||
internal::checked_args<S, Args...> ca(format_str, args...);
|
internal::checked_args<S, Args...> ca(format_str, args...);
|
||||||
|
Loading…
Reference in New Issue
Block a user