1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-15 07:41:50 +03:00

💄 cleanup

This commit is contained in:
Niels Lohmann
2017-02-22 16:56:56 +01:00
parent 967f9144d4
commit 345a106d73
3 changed files with 3 additions and 3 deletions

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();