diff options
Diffstat (limited to 'libstdc++-v3/include/ext/slist')
-rw-r--r-- | libstdc++-v3/include/ext/slist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/ext/slist b/libstdc++-v3/include/ext/slist index 532235f..3b49ae2 100644 --- a/libstdc++-v3/include/ext/slist +++ b/libstdc++-v3/include/ext/slist @@ -458,7 +458,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION max_size() const { return size_type(-1); } - bool + _GLIBCXX_NODISCARD bool empty() const { return this->_M_head._M_next == 0; } |