From 116feb0d63b30f58626b65ad68a1fcc03cd77017 Mon Sep 17 00:00:00 2001 From: Daniel Parker Date: Wed, 22 May 2024 22:44:57 -0400 Subject: [PATCH] Compiler support --- test/corelib/src/detail/span_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/corelib/src/detail/span_tests.cpp b/test/corelib/src/detail/span_tests.cpp index 362a2c2d5..270ee574e 100644 --- a/test/corelib/src/detail/span_tests.cpp +++ b/test/corelib/src/detail/span_tests.cpp @@ -39,7 +39,7 @@ TEST_CASE("jsoncons::detail::span constructor tests") } SECTION("jsoncons::detail::span(std::array)") { - std::array c = {1,2,3,4}; + std::array c = {{1,2,3,4}}; jsoncons::detail::span s(c); CHECK(s.size() == 4);