mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 00:21:13 +00:00
Disable MSVC warnings.
This commit is contained in:
parent
2dc1c0bb30
commit
516137657e
@ -120,7 +120,7 @@ void Formatter::FormatInt(T value, FormatSpec spec) {
|
|||||||
if (IntTraits<T>::IsNegative(value)) {
|
if (IntTraits<T>::IsNegative(value)) {
|
||||||
sign = '-';
|
sign = '-';
|
||||||
++size;
|
++size;
|
||||||
abs_value = -abs_value;
|
abs_value = 0 - abs_value;
|
||||||
} else if ((spec.flags & PLUS_FLAG) != 0) {
|
} else if ((spec.flags & PLUS_FLAG) != 0) {
|
||||||
sign = '+';
|
sign = '+';
|
||||||
++size;
|
++size;
|
||||||
|
Loading…
Reference in New Issue
Block a user