Optimize common case in parse_format_specs
This commit is contained in:
+1
-1
@@ -2423,7 +2423,7 @@ struct custom_char {
|
||||
operator int() const { return value; }
|
||||
};
|
||||
|
||||
int to_integral(custom_char c) { return c; }
|
||||
int to_ascii(custom_char c) { return c; }
|
||||
|
||||
FMT_BEGIN_NAMESPACE
|
||||
template <> struct is_char<custom_char> : std::true_type {};
|
||||
|
||||
Reference in New Issue
Block a user