mirror of
https://github.com/nlohmann/json.git
synced 2024-08-25 22:37:01 +02:00
Merge branch 'develop' into feature/issue698
This commit is contained in:
commit
4912231450
|
@ -6656,7 +6656,7 @@ class serializer
|
||||||
return;
|
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;
|
std::size_t i = 0;
|
||||||
|
|
||||||
// spare 1 byte for '\0'
|
// spare 1 byte for '\0'
|
||||||
|
|
Loading…
Reference in a new issue