From 41bcd8b5147acf869cd78c1f283800a26eb861f2 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 3 Jun 2024 20:20:30 -0500 Subject: JSON: Fix error on GCC 10+ See-also: https://github.com/nlohmann/json/pull/2144 --- 3rdparty/json.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '3rdparty') diff --git a/3rdparty/json.hpp b/3rdparty/json.hpp index 06da815..58e3f27 100644 --- a/3rdparty/json.hpp +++ b/3rdparty/json.hpp @@ -8491,7 +8491,7 @@ scan_number_done: std::string result; for (const auto c : token_string) { - if ('\x00' <= c and c <= '\x1F') + if (static_cast(c) <= '\x1F') { // escape control characters std::array cs{{}}; -- cgit v1.2.3-60-g2f50