mirror of
https://github.com/nlohmann/json.git
synced 2026-10-29 12:05:22 +00:00
* Fix clang-tidy findings in unit-json_view_from_json.cpp Silence misc-use-internal-linkage on the macro-generated ADL functions, reconcile -Weffc++ with readability-redundant-member-init, use auto for get<T>() initializers, and use value() on the optional access. Signed-off-by: Niels Lohmann <mail@nlohmann.me> * Satisfy bugprone-unchecked-optional-access in unit-json_view_from_json.cpp clang-tidy 22 also flags value(); check has_value() in the same expression. Signed-off-by: Niels Lohmann <mail@nlohmann.me> --------- Signed-off-by: Niels Lohmann <mail@nlohmann.me>