💄 cleanup

上级 967f9144
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册