[gcc r16-7874] libstdc++: Adjust indentation of std::atomic<T*> wait/notify members
Jonathan Wakely
redi@gcc.gnu.org
Tue Mar 3 16:12:22 GMT 2026
https://gcc.gnu.org/g:28e4005c42e7039c47876d0cda6b4f48fe43686a
commit r16-7874-g28e4005c42e7039c47876d0cda6b4f48fe43686a
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Tue Feb 24 20:33:34 2026 +0000
libstdc++: Adjust indentation of std::atomic<T*> wait/notify members
libstdc++-v3/ChangeLog:
* include/std/atomic (atomic<T*>::wait, atomic<T*>::notify_one)
(atomic<T*>::notify_all): Fix indentation.
Diff:
---
libstdc++-v3/include/std/atomic | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/libstdc++-v3/include/std/atomic b/libstdc++-v3/include/std/atomic
index 3ec218afa096..b53872c81bd8 100644
--- a/libstdc++-v3/include/std/atomic
+++ b/libstdc++-v3/include/std/atomic
@@ -664,19 +664,20 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
}
#if __cpp_lib_atomic_wait
- void
- wait(__pointer_type __old, memory_order __m = memory_order_seq_cst) const noexcept
- { _M_b.wait(__old, __m); }
+ void
+ wait(__pointer_type __old,
+ memory_order __m = memory_order_seq_cst) const noexcept
+ { _M_b.wait(__old, __m); }
- // TODO add const volatile overload
+ // TODO add const volatile overload
- void
- notify_one() noexcept
- { _M_b.notify_one(); }
+ void
+ notify_one() noexcept
+ { _M_b.notify_one(); }
- void
- notify_all() noexcept
- { _M_b.notify_all(); }
+ void
+ notify_all() noexcept
+ { _M_b.notify_all(); }
#endif // __cpp_lib_atomic_wait
__pointer_type
More information about the Libstdc++-cvs
mailing list