mirror of
https://github.com/nlohmann/json.git
synced 2026-08-21 16:43:17 +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>