🚨 fix warning (#5169)

This commit is contained in:
Niels Lohmann
2026-05-14 15:39:18 +02:00
committed by GitHub
parent 85cb7ea9aa
commit 5a05627b1f
5 changed files with 36 additions and 10 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ TEST_CASE("regression test for issue #3732 - iteration_proxy_value<iter_impl<ord
// Naming the proxy type in a function-parameter position forces eager
// instantiation of basic_json<ordered_map>; previously this hit an
// incomplete-type error in set_parents().
auto fn = [](nlohmann::detail::iteration_proxy_value<nlohmann::detail::iter_impl<nlohmann::ordered_json>> const& val)
auto fn = [](nlohmann::detail::iteration_proxy_value<nlohmann::detail::iter_impl<nlohmann::ordered_json>> const & val)
{
return val.value();
};