Message ID | 20240208214937.2737811-1-jwakely@redhat.com |
---|---|
State | New |
Headers | show |
Series | [committed] libstdc++: Fix comment typo in std::atomic<std::shared_ptr<T>> | expand |
diff --git a/libstdc++-v3/include/bits/shared_ptr_atomic.h b/libstdc++-v3/include/bits/shared_ptr_atomic.h index 58aea96492e..1403c6a17c5 100644 --- a/libstdc++-v3/include/bits/shared_ptr_atomic.h +++ b/libstdc++-v3/include/bits/shared_ptr_atomic.h @@ -557,7 +557,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { __glibcxx_assert(__o != memory_order_release && __o != memory_order_acq_rel); - // Ensure that the correct value of _M_ptr is visible after locking., + // Ensure that the correct value of _M_ptr is visible after locking, // by upgrading relaxed or consume to acquire. if (__o != memory_order_seq_cst) __o = memory_order_acquire;