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.
---

Tested x86_64-linux. Pushed to trunk.

 libstdc++-v3/include/bits/atomic_base.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libstdc++-v3/include/bits/atomic_base.h 
b/libstdc++-v3/include/bits/atomic_base.h
index b56007b7bf5..92d1269493f 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
-- 
2.48.1

Reply via email to