Skip to content

Commit

Permalink
💄 cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Feb 22, 2017
1 parent 967f914 commit 345a106
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/json.hpp
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/json.hpp.re2c
Expand Up @@ -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();
Expand Down

0 comments on commit 345a106

Please sign in to comment.