Workaround Windows crap.

This commit is contained in:
Victor Zverovich 2014-09-12 13:42:22 -07:00
parent 225b757b50
commit 1e9ca17b9d

View File

@ -867,7 +867,7 @@ class PrintfFormatter : private FormatterBase {
// Returns the argument with specified index or, if arg_index is equal // Returns the argument with specified index or, if arg_index is equal
// to the maximum unsigned value, the next argument. // to the maximum unsigned value, the next argument.
const Arg &get_arg(const Char *s, const Arg &get_arg(const Char *s,
unsigned arg_index = std::numeric_limits<unsigned>::max()); unsigned arg_index = (std::numeric_limits<unsigned>::max)());
// Parses argument index, flags and width and returns the argument index. // Parses argument index, flags and width and returns the argument index.
unsigned parse_header(const Char *&s, FormatSpec &spec); unsigned parse_header(const Char *&s, FormatSpec &spec);