summaryrefslogtreecommitdiff
path: root/include/array
diff options
context:
space:
mode:
Diffstat (limited to 'include/array')
-rw-r--r--include/array2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/array b/include/array
index 12780992e5c4..4eb2fe6fc624 100644
--- a/include/array
+++ b/include/array
@@ -183,7 +183,7 @@ struct _LIBCPP_TEMPLATE_VIS array
_LIBCPP_CONSTEXPR size_type size() const _NOEXCEPT {return _Size;}
_LIBCPP_INLINE_VISIBILITY
_LIBCPP_CONSTEXPR size_type max_size() const _NOEXCEPT {return _Size;}
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_INLINE_VISIBILITY
_LIBCPP_CONSTEXPR bool empty() const _NOEXCEPT {return _Size == 0;}
// element access: