mirror of
https://github.com/nlohmann/json.git
synced 2026-11-01 10:25:43 +00:00
clang 22 with -Weverything (ci_test_standards_clang) reports -Wnrvo for 'return context;' in diagnostics(), because the early 'return "";' after context is declared rules out the named return value optimization. context is still empty there, so return it instead. Signed-off-by: Niels Lohmann <mail@nlohmann.me>