Improve handling of signed types

This commit is contained in:
Victor Zverovich
2022-12-30 10:31:39 -08:00
parent 32190859ec
commit ffb9b1d13c
6 changed files with 69 additions and 57 deletions
+1 -1
View File
@@ -2150,7 +2150,7 @@ FMT_CONSTEXPR FMT_INLINE auto write_int(OutputIt out, write_int_arg<T> arg,
case presentation_type::chr:
return write_char(out, static_cast<Char>(abs_value), specs);
default:
throw_format_error("invalid type specifier");
throw_format_error("invalid format specifier");
}
return out;
}