aboutsummaryrefslogtreecommitdiff
path: root/dep/cppformat/format.h
diff options
context:
space:
mode:
Diffstat (limited to 'dep/cppformat/format.h')
-rw-r--r--dep/cppformat/format.h7
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)) };
};