public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8891] libstdc++: Fix comment typo in std::atomic<std::shared_ptr<T>>
@ 2024-02-08 21:49 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2024-02-08 21:49 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:3d112bb50a2d55156f4b135f030e66dd240a3fc9

commit r14-8891-g3d112bb50a2d55156f4b135f030e66dd240a3fc9
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Feb 7 14:51:37 2024 +0000

    libstdc++: Fix comment typo in std::atomic<std::shared_ptr<T>>
    
    libstdc++-v3/ChangeLog:
    
            * include/bits/shared_ptr_atomic.h: Fix typo in comment.

Diff:
---
 libstdc++-v3/include/bits/shared_ptr_atomic.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-08 21:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-08 21:49 [gcc r14-8891] libstdc++: Fix comment typo in std::atomic<std::shared_ptr<T>> Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).