From: Jonathan Wakely Date: Wed, 7 Feb 2024 14:51:37 +0000 (+0000) Subject: libstdc++: Fix comment typo in std::atomic> X-Git-Tag: basepoints/gcc-15~1248 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3d112bb50a2d55156f4b135f030e66dd240a3fc9;p=thirdparty%2Fgcc.git libstdc++: Fix comment typo in std::atomic> libstdc++-v3/ChangeLog: * include/bits/shared_ptr_atomic.h: Fix typo in comment. --- diff --git a/libstdc++-v3/include/bits/shared_ptr_atomic.h b/libstdc++-v3/include/bits/shared_ptr_atomic.h index 58aea96492e5..1403c6a17c5f 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;