From e7fc853e2d83375c83cce8399860cf110c6a4f17 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sat, 17 Oct 2026 07:46:46 +0200 Subject: [PATCH] Include materialize.hpp in the view builder test The test calls detail::view::materialize(), which only the single header pulled in; the multiple-header build (JSON_TEST_USING_MULTIPLE_HEADERS) failed with "'materialize' is not a member of detail::view". Signed-off-by: Niels Lohmann --- tests/src/unit-json_view_builder.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/src/unit-json_view_builder.cpp b/tests/src/unit-json_view_builder.cpp index c3b2e9a3a..2b0c27f30 100644 --- a/tests/src/unit-json_view_builder.cpp +++ b/tests/src/unit-json_view_builder.cpp @@ -11,6 +11,7 @@ #include #if JSON_TEST_USING_MULTIPLE_HEADERS #include + #include #include #else #include // the single header contains the internal headers