mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-08 11:33:46 +00:00
Fix MSVC build
This commit is contained in:
parent
8ed264fcd4
commit
1efc15c177
@ -1627,7 +1627,7 @@ class specs_checker : public Handler {
|
|||||||
FMT_CONSTEXPR void check_sign() {
|
FMT_CONSTEXPR void check_sign() {
|
||||||
require_numeric_argument();
|
require_numeric_argument();
|
||||||
if (is_integral(arg_type_) && arg_type_ != int_type &&
|
if (is_integral(arg_type_) && arg_type_ != int_type &&
|
||||||
arg_type_ != long_long_type && arg_type_ != char_type) {
|
arg_type_ != long_long_type && arg_type_ != internal::char_type) {
|
||||||
this->on_error("format specifier requires signed argument");
|
this->on_error("format specifier requires signed argument");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user