Files
json/include/nlohmann/detail/view
Niels Lohmann fb6a315746 json_view: return the empty context so clang can elide its copy
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>
2026-10-31 23:34:30 +01:00
..