Files
json/include/nlohmann
Niels Lohmann b44aeaac0a Fix the MSVC and GCC builds of develop (C4127, -Weffc++)
json_view number(): #6006 folded the check of the digit after a minus
sign into `else if (!negative || ...)`, which MSVC 19.44 reports as
C4127 (conditional expression is constant) and /WX turns into an
error in every MSVC and clang-cl job. The check now sits in the
`if (negative)` block, right after the sign is skipped; the error and
its position are unchanged.

unit-locale-cpp.cpp: the locale_switching_token added in #5997 held a
`const char*`, so GCC's -Weffc++ asked for a copy constructor and copy
assignment. The locale name is now a std::string.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-11-02 19:51:33 +01:00
..
2026-01-01 20:00:39 +01:00
2026-01-01 20:00:39 +01:00