const qualification was also missing in the free functions for wait/wait_explicit/notify_one/notify_all. Revised patch attached. On Tue, Nov 9, 2021 at 11:40 AM Jonathan Wakely wrote: > On Tue, 9 Nov 2021 at 18:09, Thomas Rodgers wrote: > >> Revised patch attached. >> > > OK for trunk and gcc-11, thanks. > > > >> On Fri, Nov 5, 2021 at 4:46 PM Jonathan Wakely >> wrote: >> >>> On Fri, 5 Nov 2021 at 21:51, Jonathan Wakely via Libstdc++ >>> wrote: >>> > >>> > OK, thanks. >>> >>> Actually, we should really have a test to verify it can be called on a >>> const object. Please add something when you commit, it can be dumb and >>> simple, it just needs to verify that it can be called. >>> >>> >>> > >>> > >>> > On Fri, 5 Nov 2021 at 21:46, Thomas Rodgers via Libstdc++ < >>> > libstdc++@gcc.gnu.org> wrote: >>> > >>> > > >>> > > >>> >>>