fixing clang build break

This commit is contained in:
Jordan Maples
2020-05-20 17:52:03 -07:00
parent 7e4ed8da98
commit 25e7af9c7d
2 changed files with 5 additions and 3 deletions

View File

@ -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);