diff options
author | Naios <naios-dev@live.de> | 2015-03-18 20:12:20 +0100 |
---|---|---|
committer | Naios <naios-dev@live.de> | 2015-03-18 20:12:20 +0100 |
commit | f25666375e07f32e427e996b2043fef10870c3ae (patch) | |
tree | 18ab26103f92b240b24f4e508038d2287ce7333e /dep/cppformat/format.h | |
parent | dfe5e1e5612afb74f1c74e3f1de395f418a5f814 (diff) |
Dep/CppFormat: Update cppformat to cppformat/cppformat@bf8636c9596fbfddd
* fixes detecting support of <initializer_list>
* fixes build on solaris
(cherry picked from commit e40a5bf0b1483ce4275464a0a75a3d99035ca71c)
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)) }; }; |