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 <mail@nlohmann.me>
This commit is contained in:
Niels Lohmann committed 2026-10-31 14:14:16 +01:00
1 parent 7004ec71bb
commit 56c6eaf2ad
1 file changed
+1
+1
View File
@@ -13,6 +13,7 @@
#include <nlohmann/detail/view/builder.hpp>
#include <nlohmann/detail/view/materialize.hpp>
#include <nlohmann/detail/view/string_ref.hpp>
#include <nlohmann/json_view.hpp> // json_document::accept
#else
#include <nlohmann/json_view.hpp> // the single header contains the internal headers
#endif