💄 cleanup

This commit is contained in:
Niels Lohmann 2017-02-22 16:56:56 +01:00
parent 967f9144d4
commit 345a106d73
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
3 changed files with 3 additions and 3 deletions

View File

@ -857,7 +857,7 @@ $ make json_unit -Ctest
$ ./test/json_unit "*""
===============================================================================
All tests passed (11202588 assertions in 47 test cases)
All tests passed (11202596 assertions in 47 test cases)
```
Alternatively, you can use [CMake](https://cmake.org) and run

View File

@ -8315,7 +8315,7 @@ class basic_json
// negative value indicates an error
assert(written_bytes > 0);
// check if buffer was large enough
assert(written_bytes < m_buf.size());
assert(static_cast<size_t>(written_bytes) < m_buf.size());
// read information from locale
const auto loc = localeconv();

View File

@ -8315,7 +8315,7 @@ class basic_json
// negative value indicates an error
assert(written_bytes > 0);
// check if buffer was large enough
assert(written_bytes < m_buf.size());
assert(static_cast<size_t>(written_bytes) < m_buf.size());
// read information from locale
const auto loc = localeconv();