summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/containers/views/span.elem/op_idx.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/containers/views/span.elem/op_idx.pass.cpp')
-rw-r--r--libcxx/test/std/containers/views/span.elem/op_idx.pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/containers/views/span.elem/op_idx.pass.cpp b/libcxx/test/std/containers/views/span.elem/op_idx.pass.cpp
index 893331ad8f1..78278964f81 100644
--- a/libcxx/test/std/containers/views/span.elem/op_idx.pass.cpp
+++ b/libcxx/test/std/containers/views/span.elem/op_idx.pass.cpp
@@ -25,7 +25,7 @@
template <typename Span>
constexpr bool testConstexprSpan(Span sp, size_t idx)
{
- _LIBCPP_ASSERT(noexcept(sp[idx]), "");
+ LIBCPP_ASSERT(noexcept(sp[idx]));
typename Span::reference r1 = sp[idx];
typename Span::reference r2 = *(sp.data() + idx);
@@ -36,7 +36,7 @@ constexpr bool testConstexprSpan(Span sp, size_t idx)
template <typename Span>
void testRuntimeSpan(Span sp, size_t idx)
{
- _LIBCPP_ASSERT(noexcept(sp[idx]), "");
+ LIBCPP_ASSERT(noexcept(sp[idx]));
typename Span::reference r1 = sp[idx];
typename Span::reference r2 = *(sp.data() + idx);
OpenPOWER on IntegriCloud