mirror of
https://github.com/nlohmann/json.git
synced 2024-11-27 16:49:02 +08:00
💄 cleanup
This commit is contained in:
parent
967f9144d4
commit
345a106d73
@ -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
|
||||
|
@ -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();
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user