diff options
author | Jordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com> | 2020-02-08 01:40:09 +0300 |
---|---|---|
committer | Jordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com> | 2020-02-08 01:40:09 +0300 |
commit | d8fa68c4a589e6461c4bb2a58d5ccc1c1075b5ef (patch) | |
tree | 8388504b1ed287a2819dd0a8cb4f49b117c3eab7 /tests/span_tests.cpp | |
parent | b81d6e40e13708a6019ff9758db263c2f385ed80 (diff) |
address build failures
Diffstat (limited to 'tests/span_tests.cpp')
-rw-r--r-- | tests/span_tests.cpp | 2 |
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); |