diff options
author | Thomas Rodgers <rodgert@twrodgers.com> | 2021-12-09 15:35:25 -0800 |
---|---|---|
committer | Thomas Rodgers <rodgert@twrodgers.com> | 2021-12-09 17:57:03 -0800 |
commit | 38c60e5075f89265a560eab166d43247624a7535 (patch) | |
tree | 7dbdf231a957b4cf2454054b2f93d4854f41e2ff /libphobos/libdruntime | |
parent | 35a4fe8091896529a19a7c2c2a32e69f3b5efddb (diff) | |
download | gcc-38c60e5075f89265a560eab166d43247624a7535.tar.gz |
libstdc++: Make atomic<T*>::wait() const [PR102994]
This was an oversight in the original commit adding wait/notify
to atomic<T>.
libstdc++-v3/ChangeLog:
PR libstdc++/102994
* include/bits/atomic_base.h (__atomic_base<_PTp*>::wait()):
Add const qualifier.
* include/std/atomic (atomic<_Tp*>::wait(), atomic_wait()):
Likewise.
* testsuite/29_atomics/atomic/wait_notify/102994.cc:
New test.
Diffstat (limited to 'libphobos/libdruntime')
0 files changed, 0 insertions, 0 deletions