From 56c6eaf2ad26781ce53f872b772410c7cb2ec3ee Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sat, 31 Oct 2026 14:14:16 +0100 Subject: [PATCH] Include json_view.hpp in the builder test with multiple headers The accept() checks use json_document, which the internal headers do not declare; the CMake build (JSON_TEST_USING_MULTIPLE_HEADERS) failed. 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 85c9124ce..f06dd3498 100644 --- a/tests/src/unit-json_view_builder.cpp +++ b/tests/src/unit-json_view_builder.cpp @@ -13,6 +13,7 @@ #include #include #include + #include // json_document::accept #else #include // the single header contains the internal headers #endif