Skip to content

Commit 3d112bb

Browse files
committed
libstdc++: Fix comment typo in std::atomic<std::shared_ptr<T>>
libstdc++-v3/ChangeLog: * include/bits/shared_ptr_atomic.h: Fix typo in comment.
1 parent 4e5dc6d commit 3d112bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libstdc++-v3/include/bits/shared_ptr_atomic.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
557557
{
558558
__glibcxx_assert(__o != memory_order_release
559559
&& __o != memory_order_acq_rel);
560-
// Ensure that the correct value of _M_ptr is visible after locking.,
560+
// Ensure that the correct value of _M_ptr is visible after locking,
561561
// by upgrading relaxed or consume to acquire.
562562
if (__o != memory_order_seq_cst)
563563
__o = memory_order_acquire;

0 commit comments

Comments
 (0)