diff options
Diffstat (limited to 'include/stack')
-rw-r--r-- | include/stack | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stack b/include/stack index b2d4e2395017..0cb4c6ca925e 100644 --- a/include/stack +++ b/include/stack @@ -181,7 +181,7 @@ public: : c(_VSTD::move(__s.c), __a) {} #endif // _LIBCPP_CXX03_LANG - _LIBCPP_INLINE_VISIBILITY + _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_INLINE_VISIBILITY bool empty() const {return c.empty();} _LIBCPP_INLINE_VISIBILITY size_type size() const {return c.size();} |