addressing travis errors
This commit is contained in:
1 parent
432be4852c
commit
7fcc142ffc
2 files changed
+11
-6
No files matched your search
@@ -1102,8 +1102,13 @@ TEST(span_test, from_array_constructor)
|
||||
{
|
||||
span<int> s = a;
|
||||
span<int> s2 = b;
|
||||
EXPECT_DEATH(bool _ = (s.begin() == s2.begin()), deathstring);
|
||||
EXPECT_DEATH(bool _ = (s.begin() <= s2.begin()), deathstring);
|
||||
#if (__cplusplus > 201402L)
|
||||
EXPECT_DEATH([[maybe_unused]] s.begin() == s2.begin(), deathstring);
|
||||
EXPECT_DEATH([[maybe_unused]] s.begin() <= s2.begin(), deathstring);
|
||||
#else
|
||||
EXPECT_DEATH(s.begin() == s2.begin(), deathstring);
|
||||
EXPECT_DEATH(s.begin() <= s2.begin(), deathstring);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user