diff --git a/test/corelib/src/detail/span_tests.cpp b/test/corelib/src/detail/span_tests.cpp index 270ee574e..9f2a4ad29 100644 --- a/test/corelib/src/detail/span_tests.cpp +++ b/test/corelib/src/detail/span_tests.cpp @@ -23,7 +23,7 @@ TEST_CASE("jsoncons::detail::span constructor tests") SECTION("jsoncons::detail::span(C& c)") { using C = std::vector; - C c = {1,2,3,4}; + C c = {{1,2,3,4}}; jsoncons::detail::span s(c); CHECK(s.size() == c.size());