mirror of
https://github.com/nlohmann/json.git
synced 2026-07-12 05:25:09 +00:00
840a7cbc11
first/first2 are passed by value into json::parse/accept and never mutated afterward in this scope, so clang-tidy correctly flags them as const-able. Verified clean against the exact CI job (silkeh/clang:dev, ci_clang_tidy target, C++20 compile command). Signed-off-by: Niels Lohmann <mail@nlohmann.me>