fixed windows build problem
This commit is contained in:
parent
caaf17d0ca
commit
60b8b0bca4
13
fmt/printf.h
13
fmt/printf.h
@ -81,11 +81,11 @@ static inline fmt::internal::Null<> strerror_s(char *, std::size_t, ...) {
|
|||||||
namespace fmt {
|
namespace fmt {
|
||||||
namespace internal {
|
namespace internal {
|
||||||
|
|
||||||
template <typename Char> class DefaultPrintfArgFormatter;
|
// template <typename Char> class DefaultPrintfArgFormatter;
|
||||||
|
|
||||||
template <typename CharT,
|
// template <typename CharT,
|
||||||
typename PFAF = fmt::internal::DefaultPrintfArgFormatter<CharT> >
|
// typename PFAF = fmt::internal::DefaultPrintfArgFormatter<CharT> >
|
||||||
class PrintfFormatter;
|
// class PrintfFormatter;
|
||||||
|
|
||||||
template <typename Impl, typename CharT>
|
template <typename Impl, typename CharT>
|
||||||
class PrintfArgFormatter : public internal::ArgFormatterBase<Impl, CharT> {
|
class PrintfArgFormatter : public internal::ArgFormatterBase<Impl, CharT> {
|
||||||
@ -165,8 +165,9 @@ public:
|
|||||||
: PrintfArgFormatter<DefaultPrintfArgFormatter<CharT>, CharT>(w, spec) {}
|
: PrintfArgFormatter<DefaultPrintfArgFormatter<CharT>, CharT>(w, spec) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename Char, typename PrintfArgFormatterT>
|
template <typename Char,
|
||||||
class PrintfFormatter : private FormatterBase {
|
typename PrintfArgFormatterT = fmt::internal::DefaultPrintfArgFormatter<Char> >
|
||||||
|
class PrintfFormatter : private FormatterBase {
|
||||||
private:
|
private:
|
||||||
void parse_flags(FormatSpec &spec, const Char *&s);
|
void parse_flags(FormatSpec &spec, const Char *&s);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user