From 1c7041908dd781465403cd60b50406cadf0e79e4 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Tue, 29 Sep 2026 09:35:57 +0200 Subject: [PATCH] Address the cpplint findings of json_view's comparisons compare.hpp includes (build/include_what_you_use). Signed-off-by: Niels Lohmann --- include/nlohmann/detail/view/compare.hpp | 1 + single_include/nlohmann/json_view.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/include/nlohmann/detail/view/compare.hpp b/include/nlohmann/detail/view/compare.hpp index 44a8e1d5b..9a50590a3 100644 --- a/include/nlohmann/detail/view/compare.hpp +++ b/include/nlohmann/detail/view/compare.hpp @@ -10,6 +10,7 @@ #include // sort, stable_sort #include // size_t +#include // string #include // move, pair #include // vector diff --git a/single_include/nlohmann/json_view.hpp b/single_include/nlohmann/json_view.hpp index 0950b9edc..c6ddda728 100644 --- a/single_include/nlohmann/json_view.hpp +++ b/single_include/nlohmann/json_view.hpp @@ -1580,6 +1580,7 @@ NLOHMANN_JSON_NAMESPACE_END #include // sort, stable_sort #include // size_t +#include // string #include // move, pair #include // vector