Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/GSL.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/span_tests.cpp')
-rw-r--r--tests/span_tests.cpp2
1 files changed, 1 insertions, 1 deletions
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<int> v{1,2,3,4};
gsl::span sp{v};
static_assert(std::is_same<decltype(sp), gsl::span<int>>::value);
}