Address the cpplint findings of json_view's comparisons

compare.hpp includes <string> (build/include_what_you_use).

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
Niels Lohmann
2026-09-29 09:35:57 +02:00
parent 20fd4c6a8b
commit 1c7041908d
2 changed files with 2 additions and 0 deletions

View File

@@ -10,6 +10,7 @@
#include <algorithm> // sort, stable_sort
#include <cstddef> // size_t
#include <string> // string
#include <utility> // move, pair
#include <vector> // vector

View File

@@ -1580,6 +1580,7 @@ NLOHMANN_JSON_NAMESPACE_END
#include <algorithm> // sort, stable_sort
#include <cstddef> // size_t
#include <string> // string
#include <utility> // move, pair
#include <vector> // vector