From: Jonathan Wakely Date: Mon, 17 Jan 2022 09:42:35 +0000 (+0000) Subject: libstdc++: Add 'typename' to dependent types in atomic> X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a923345c72aef9ebb6b32f81f4825acc11085803;p=test_jj.git libstdc++: Add 'typename' to dependent types in atomic> libstdc++-v3/ChangeLog: * include/bits/shared_ptr_atomic.h (_Sp_atomic): Add typename to qualified-id for dependent type. --- diff --git a/libstdc++-v3/include/bits/shared_ptr_atomic.h b/libstdc++-v3/include/bits/shared_ptr_atomic.h index 900499b..50aa463 100644 --- a/libstdc++-v3/include/bits/shared_ptr_atomic.h +++ b/libstdc++-v3/include/bits/shared_ptr_atomic.h @@ -456,8 +456,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION typename _Tp::element_type* _M_ptr; _Atomic_count _M_refcount; - static _Atomic_count::pointer - _S_add_ref(_Atomic_count::pointer __p) + static typename _Atomic_count::pointer + _S_add_ref(typename _Atomic_count::pointer __p) { if (__p) {