diff options
Diffstat (limited to 'libstdc++-v3/include/bits/unordered_set.h')
-rw-r--r-- | libstdc++-v3/include/bits/unordered_set.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/bits/unordered_set.h b/libstdc++-v3/include/bits/unordered_set.h index e1ac398..3e1180f 100644 --- a/libstdc++-v3/include/bits/unordered_set.h +++ b/libstdc++-v3/include/bits/unordered_set.h @@ -294,7 +294,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER // size and capacity: /// Returns true if the %unordered_set is empty. - bool + _GLIBCXX_NODISCARD bool empty() const noexcept { return _M_h.empty(); } @@ -1102,7 +1102,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER // size and capacity: /// Returns true if the %unordered_multiset is empty. - bool + _GLIBCXX_NODISCARD bool empty() const noexcept { return _M_h.empty(); } |