]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Adjust indentation of std::atomic<T*> wait/notify members
authorJonathan Wakely <jwakely@redhat.com>
Tue, 24 Feb 2026 20:33:34 +0000 (20:33 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 3 Mar 2026 16:11:58 +0000 (16:11 +0000)
libstdc++-v3/ChangeLog:

* include/std/atomic (atomic<T*>::wait, atomic<T*>::notify_one)
(atomic<T*>::notify_all): Fix indentation.

libstdc++-v3/include/std/atomic

index 3ec218afa096228cc1faa74125b246ddab7a99cc..b53872c81bd8e9bf39e2ca996ced7edef7d4ec5c 100644 (file)
@@ -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