From 72803a7ecb2c0868753488246c5d46489414954b Mon Sep 17 00:00:00 2001 From: Jordan Maples Date: Fri, 29 May 2020 15:45:25 -0700 Subject: adding template type to the vector to suppress clang-10 warning that vector may not intend for type deduction. --- tests/span_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/span_tests.cpp b/tests/span_tests.cpp index db536fa..6caaeea 100644 --- a/tests/span_tests.cpp +++ b/tests/span_tests.cpp @@ -1242,7 +1242,7 @@ TEST(span_test, from_array_constructor) #if (defined(__cpp_deduction_guides) && (__cpp_deduction_guides >= 201611L)) // this test is just to verify that these compile { - std::vector v{1,2,3,4}; + std::vector v{1,2,3,4}; gsl::span sp{v}; static_assert(std::is_same>::value); } -- cgit v1.2.3