From f279c9aa49c8e7103c682cd2abce6c28cf17bad2 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 6 Nov 2026 22:34:36 +0000 Subject: [PATCH] Tests: mark parser callback in unit-contiguous_parser noexcept Fixes the -Werror=noexcept failure with GCC 26 (ci_test_standards_gcc (26)). Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01N5NasEsrzHhSNouxSoEwqz --- tests/src/unit-contiguous_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/unit-contiguous_parser.cpp b/tests/src/unit-contiguous_parser.cpp index 5579c0d1d..bcebe2047 100644 --- a/tests/src/unit-contiguous_parser.cpp +++ b/tests/src/unit-contiguous_parser.cpp @@ -553,7 +553,7 @@ TEST_CASE("contiguous parser") CHECK(json::accept("[1,]", false, true)); CHECK(json::accept("// c\n[1]", true)); int calls = 0; - const json j = json::parse("[1,2]", [&calls](int /*depth*/, json::parse_event_t /*event*/, json& /*parsed*/) + const json j = json::parse("[1,2]", [&calls](int /*depth*/, json::parse_event_t /*event*/, json& /*parsed*/) noexcept { ++calls; return true;