mirror of
https://github.com/nlohmann/json.git
synced 2026-10-22 14:08:13 +00:00
clang-tidy rejected the raw new[]/delete[] of token_carry_buffer (cppcoreguidelines-owning-memory) and the capacity computation (readability-use-std-min-max). The storage is now owned by a std::unique_ptr<char[]>, as in json_view's edit storage, and the new capacity is a std::max. istream parse instructions (Apple clang, twitter, citm, canada, floats) are unchanged within noise. Signed-off-by: Niels Lohmann <mail@nlohmann.me>