Merge branch 'develop' into feature/issue698

This commit is contained in:
Niels Lohmann 2017-10-02 18:25:25 +02:00
commit 4912231450
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -6656,7 +6656,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'