diff mbox series

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

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

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(-)
diff mbox series

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;