diff options
author | Jordan Maples <jomaples@microsoft.com> | 2020-05-21 03:52:03 +0300 |
---|---|---|
committer | Jordan Maples <jomaples@microsoft.com> | 2020-05-21 03:52:03 +0300 |
commit | 25e7af9c7dcfbd2f3355d19198fa531c2e3d133a (patch) | |
tree | 92c598f7cb15a04521439430463100705cc95675 /tests/span_tests.cpp | |
parent | 7e4ed8da9892de9337b52b29bfffd016f18072cd (diff) |
fixing clang build break
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 44198a6..ce881ba 100644 --- a/tests/span_tests.cpp +++ b/tests/span_tests.cpp @@ -1180,7 +1180,7 @@ TEST(span_test, from_array_constructor) #endif { auto f = [&]() { - span<int, 4> _s4{arr2, 2}; + const span<int, 4> _s4{arr2, 2}; static_cast<void>(_s4); }; EXPECT_DEATH(f(), deathstring); |