From e40a5bf0b1483ce4275464a0a75a3d99035ca71c Mon Sep 17 00:00:00 2001 From: Naios Date: Wed, 18 Mar 2015 19:18:19 +0100 Subject: Dep/CppFormat: Update cppformat to cppformat/cppformat@bf8636c9596fbfddd * fixes detecting support of * fixes build on solaris --- dep/cppformat/format.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'dep/cppformat/format.h') diff --git a/dep/cppformat/format.h b/dep/cppformat/format.h index fb414ca3639..0a67f3f977d 100644 --- a/dep/cppformat/format.h +++ b/dep/cppformat/format.h @@ -749,7 +749,7 @@ struct Arg : Value { Type type; }; -template +template struct None {}; // A helper class template to enable or disable overloads taking wide @@ -773,9 +773,10 @@ class IsConvertibleToInt { typedef char no[2]; static const T &get(); - static yes &check(int); - static no &check(...); + static yes &check(fmt::ULongLong); + static no &check(...); + public: enum { value = (sizeof(check(get())) == sizeof(yes)) }; }; -- cgit v1.2.3