Finished integrating CaseyCarter's changes into span

This commit is contained in:
Jordan Maples
2020-05-20 13:37:42 -07:00
parent ed3fea6d93
commit 1e44481646
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1144,7 +1144,7 @@ TEST(span_test, from_array_constructor)
// you can convert statically
{
const span<int, 2> s2(&arr[0], 2);
const span<int, 2> s2{&arr[0], 2};
static_cast<void>(s2);
}
{
@@ -1180,7 +1180,7 @@ TEST(span_test, from_array_constructor)
#endif
{
auto f = [&]() {
const span<int, 4> _s4(arr2, 2);
span<int, 4> _s4{arr2, 2};
static_cast<void>(_s4);
};
EXPECT_DEATH(f(), deathstring);