[committed] libstdc++: Fix comment typo in std::atomic<std::shared_ptr<T>>

Message ID 20240208214937.2737811-1-jwakely@redhat.com
State Committed
Commit 3d112bb50a2d55156f4b135f030e66dd240a3fc9
Headers
Series [committed] libstdc++: Fix comment typo in std::atomic<std::shared_ptr<T>> |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_gcc_check--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_gcc_build--master-arm warning Patch is already merged

Commit Message

Jonathan Wakely Feb. 8, 2024, 9:49 p.m. UTC
  Tested aarch64-linux. Pushed to trunk.

-- >8 --

libstdc++-v3/ChangeLog:

	* include/bits/shared_ptr_atomic.h: Fix typo in comment.
---
 libstdc++-v3/include/bits/shared_ptr_atomic.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

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;