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
path: root/tests
diff options
context:
space:
mode:
authorJordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com>2020-02-08 01:40:09 +0300
committerJordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com>2020-02-08 01:40:09 +0300
commitd8fa68c4a589e6461c4bb2a58d5ccc1c1075b5ef (patch)
tree8388504b1ed287a2819dd0a8cb4f49b117c3eab7 /tests
parentb81d6e40e13708a6019ff9758db263c2f385ed80 (diff)
address build failures
Diffstat (limited to 'tests')
-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 8c5ac0d..1f5020b 100644
--- a/tests/span_tests.cpp
+++ b/tests/span_tests.cpp
@@ -1550,10 +1550,10 @@ TEST(span_test, from_array_constructor)
// even when done dynamically
{
- span<int> s = arr;
/*
// this now results in a compile-time error, rather than runtime.
// There is no suitable conversion from dynamic span to fixed span.
+ span<int> s = arr;
auto f = [&]() {
const span<int, 2> s2 = s;
static_cast<void>(s2);