♻️ refactored code to split headers

This commit is contained in:
Niels Lohmann 2018-01-14 10:27:30 +01:00
parent 1b54d4a5aa
commit c772c01a48
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
4 changed files with 671 additions and 20 deletions

View file

@ -6409,7 +6409,7 @@ class binary_writer
write_number(static_cast<uint32_t>(N));
}
// LCOV_EXCL_START
else if (N <= (std::numeric_limits<uint32_t>::max)())
else if (N <= (std::numeric_limits<uint64_t>::max)())
{
oa->write_character(static_cast<CharType>(0xBB));
write_number(static_cast<uint64_t>(N));