diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-10-17 21:18:14 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-10-18 14:49:34 +0100 |
commit | 5546be4c24cd1085c8e43b5635be56a9b591c626 (patch) | |
tree | 3ae9b3c46b7e0054daf2247ebb662fa609671c8b /gcc | |
parent | 7ed561f63e7955df4d194669998176df5ef47803 (diff) | |
download | gcc-5546be4c24cd1085c8e43b5635be56a9b591c626.zip gcc-5546be4c24cd1085c8e43b5635be56a9b591c626.tar.gz gcc-5546be4c24cd1085c8e43b5635be56a9b591c626.tar.bz2 |
libstdc++: Add nodiscard to std::find
I missed this one out in r14-9478-gdf483ebd24689a but I don't think that
was intentional. I see no reason std::find shouldn't be [[nodiscard]].
libstdc++-v3/ChangeLog:
* include/bits/stl_algo.h (find): Add nodiscard.
Reviewed-by: Patrick Palka <ppalka@redhat.com>
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions