fixed windows build problem

This commit is contained in:
Glen Stark 2016-06-08 12:00:05 +02:00
parent caaf17d0ca
commit 60b8b0bca4

View File

@ -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);