From 1e9ca17b9d026fe5de4e8c0752285d42db0b67bf Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 12 Sep 2014 13:42:22 -0700 Subject: [PATCH] Workaround Windows crap. --- format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.h b/format.h index b5f28610..d533dc3a 100644 --- a/format.h +++ b/format.h @@ -867,7 +867,7 @@ class PrintfFormatter : private FormatterBase { // Returns the argument with specified index or, if arg_index is equal // to the maximum unsigned value, the next argument. const Arg &get_arg(const Char *s, - unsigned arg_index = std::numeric_limits::max()); + unsigned arg_index = (std::numeric_limits::max)()); // Parses argument index, flags and width and returns the argument index. unsigned parse_header(const Char *&s, FormatSpec &spec);