]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add nodiscard to std::vector<bool>::empty()
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Apr 2019 12:35:24 +0000 (12:35 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Apr 2019 12:35:24 +0000 (12:35 +0000)
commit4b7f4f121c9ed0ab6285a239dd949d3b33b7159a
treeefddc7d6b7f04bca9f7929d9a4fcfef31abdbf44
parent94ed6c0aaf7f16112bd50296d96e6bfac4949bdd
Add nodiscard to std::vector<bool>::empty()

We already added it to the std::vector primary template.

* include/bits/stl_bvector.h (vector<bool>::empty()): Add nodiscard
attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@270648 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_bvector.h