diff options
author | Naios <naios-dev@live.de> | 2015-03-18 19:18:19 +0100 |
---|---|---|
committer | Naios <naios-dev@live.de> | 2015-03-18 19:19:30 +0100 |
commit | e40a5bf0b1483ce4275464a0a75a3d99035ca71c (patch) | |
tree | 2966a61ae7120e9941773f39e2a79fb62557982f /dep/cppformat/format.h | |
parent | 7e6ef94cb1b11078000248a54a19a285e23ed9c4 (diff) |
Dep/CppFormat: Update cppformat to cppformat/cppformat@bf8636c9596fbfddd
* fixes detecting support of <initializer_list>
* fixes build on solaris
Diffstat (limited to 'dep/cppformat/format.h')
-rw-r--r-- | dep/cppformat/format.h | 7 |
1 files changed, 4 insertions, 3 deletions
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 <typename T> +template <typename T = void> 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)) }; }; |