aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-02-07 14:51:37 +0000
committerJonathan Wakely <jwakely@redhat.com>2024-02-08 21:48:45 +0000
commit3d112bb50a2d55156f4b135f030e66dd240a3fc9 (patch)
treec9a845598866bcd6432f95a5e23be3461ec0ed08 /libstdc++-v3/include
parent4e5dc6d9686a34d446147b923fe838389758a512 (diff)
downloadgcc-3d112bb50a2d55156f4b135f030e66dd240a3fc9.zip
gcc-3d112bb50a2d55156f4b135f030e66dd240a3fc9.tar.gz
gcc-3d112bb50a2d55156f4b135f030e66dd240a3fc9.tar.bz2
libstdc++: Fix comment typo in std::atomic<std::shared_ptr<T>>
libstdc++-v3/ChangeLog: * include/bits/shared_ptr_atomic.h: Fix typo in comment.
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r--libstdc++-v3/include/bits/shared_ptr_atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/shared_ptr_atomic.h b/libstdc++-v3/include/bits/shared_ptr_atomic.h
index 58aea96..1403c6a 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;