diff options
Diffstat (limited to 'libstdc++-v3/include/std/array')
-rw-r--r-- | libstdc++-v3/include/std/array | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/std/array b/libstdc++-v3/include/std/array index ba52e3c2..02c6f4b 100644 --- a/libstdc++-v3/include/std/array +++ b/libstdc++-v3/include/std/array @@ -177,7 +177,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER constexpr size_type max_size() const noexcept { return _Nm; } - constexpr bool + _GLIBCXX_NODISCARD constexpr bool empty() const noexcept { return size() == 0; } // Element access. |