mirror of
https://github.com/nlohmann/json.git
synced 2026-08-22 17:13:18 +00:00
clang-tidy's misc-const-correctness reads the pointer dump_byte advanced over the write buffer as one whose pointee could be const. Index the buffer instead, which says the same thing without a raw pointer at all. Signed-off-by: Niels Lohmann <mail@nlohmann.me>