We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e5dc6d commit 3d112bbCopy full SHA for 3d112bb
libstdc++-v3/include/bits/shared_ptr_atomic.h
@@ -557,7 +557,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
557
{
558
__glibcxx_assert(__o != memory_order_release
559
&& __o != memory_order_acq_rel);
560
- // Ensure that the correct value of _M_ptr is visible after locking.,
+ // Ensure that the correct value of _M_ptr is visible after locking,
561
// by upgrading relaxed or consume to acquire.
562
if (__o != memory_order_seq_cst)
563
__o = memory_order_acquire;
0 commit comments