aboutsummaryrefslogtreecommitdiffstats
path: root/include/deque
diff options
context:
space:
mode:
Diffstat (limited to 'include/deque')
-rw-r--r--include/deque2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/deque b/include/deque
index fee75614b97f..08cb295408be 100644
--- a/include/deque
+++ b/include/deque
@@ -1314,7 +1314,7 @@ public:
void resize(size_type __n);
void resize(size_type __n, const value_type& __v);
void shrink_to_fit() _NOEXCEPT;
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_INLINE_VISIBILITY
bool empty() const _NOEXCEPT {return __base::size() == 0;}
// element access: