Remove old msvc workaround from arg_formatter_base and fix warning

This commit is contained in:
Victor Zverovich
2019-06-12 19:27:23 -07:00
parent d32fe0f3f6
commit d05d42751c
2 changed files with 20 additions and 14 deletions
+3 -1
View File
@@ -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; }
};