aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2014-04-15 20:13:41 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2025-02-22 21:20:19 +0000
commit4470229653e9e539f389d6f41d013d243d6acafb (patch)
tree071753a4b27a5dae14823b952a0e3a2b648bf62d
parenta742b27bd2da33640222b1f85a4576d6d0aa2759 (diff)
downloadgcc-4470229653e9e539f389d6f41d013d243d6acafb.zip
gcc-4470229653e9e539f389d6f41d013d243d6acafb.tar.gz
gcc-4470229653e9e539f389d6f41d013d243d6acafb.tar.bz2
libstdc++: Remove misleading comment in __atomic_base<Int>
No conversion is needed because the type of _M_i is __int_type anyway. libstdc++-v3/ChangeLog: * include/bits/atomic_base.h (__atomic_base<_ITp>): Remove misleading comment.
-rw-r--r--libstdc++-v3/include/bits/atomic_base.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/atomic_base.h b/libstdc++-v3/include/bits/atomic_base.h
index b56007b..92d1269 100644
--- a/libstdc++-v3/include/bits/atomic_base.h
+++ b/libstdc++-v3/include/bits/atomic_base.h
@@ -355,7 +355,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
__atomic_base& operator=(const __atomic_base&) = delete;
__atomic_base& operator=(const __atomic_base&) volatile = delete;
- // Requires __int_type convertible to _M_i.
constexpr __atomic_base(__int_type __i) noexcept : _M_i (__i) { }
operator __int_type() const noexcept