🚨 removing a compiler warning #755
This commit is contained in:
parent
8be303d4fb
commit
b91805e1f0
1 changed files with 1 additions and 1 deletions
|
@ -6660,7 +6660,7 @@ class serializer
|
|||
return;
|
||||
}
|
||||
|
||||
const bool is_negative = x < 0;
|
||||
const bool is_negative = std::is_same<NumberType, number_integer_t>::value and (x < 0);
|
||||
std::size_t i = 0;
|
||||
|
||||
// spare 1 byte for '\0'
|
||||
|
|
Loading…
Reference in a new issue