Add nodiscard to std::vector<bool>::empty()
authorJonathan Wakely <jwakely@redhat.com>
Mon, 29 Apr 2019 12:35:24 +0000 (13:35 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 29 Apr 2019 12:35:24 +0000 (13:35 +0100)
commitad1f4687368ea026a0060969da1edd4dc1abbbfe
treeefddc7d6b7f04bca9f7929d9a4fcfef31abdbf44
parent82b6276fb3da3922e1bc875d75f81d6a31ae32d8
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.

From-SVN: r270648
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_bvector.h