address build failures

This commit is contained in:
Jordan Maples [MSFT] committed 2020-02-07 14:40:09 -08:00
1 parent b81d6e40e1
commit d8fa68c4a5
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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);