diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-10-26 16:51:30 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-10-26 21:10:47 +0100 |
commit | 0c305f3dec9a992dd775a3b9607b7b1e8c051859 (patch) | |
tree | c2f64672b8d761dd8fe3fcd9760c798222495736 /gcc/expr.cc | |
parent | 7d06b29f8145805f33a33fb54a7d69acf31cecd6 (diff) | |
download | gcc-0c305f3dec9a992dd775a3b9607b7b1e8c051859.zip gcc-0c305f3dec9a992dd775a3b9607b7b1e8c051859.tar.gz gcc-0c305f3dec9a992dd775a3b9607b7b1e8c051859.tar.bz2 |
libstdc++: Fix exception thrown by std::shared_lock::unlock() [PR112089]
The incorrect errc constant here looks like a copy&paste error.
libstdc++-v3/ChangeLog:
PR libstdc++/112089
* include/std/shared_mutex (shared_lock::unlock): Change errc
constant to operation_not_permitted.
* testsuite/30_threads/shared_lock/locking/112089.cc: New test.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions