Remove old msvc workaround from arg_formatter_base and fix warning
This commit is contained in:
+3
-1
@@ -2494,7 +2494,9 @@ TEST(FormatTest, CharTraitsIsNotAmbiguous) {
|
||||
struct mychar {
|
||||
int value;
|
||||
mychar() = default;
|
||||
mychar(char val) : value(val) {}
|
||||
|
||||
template <typename T> mychar(T val) : value(static_cast<int>(val)) {}
|
||||
|
||||
operator int() const { return value; }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user