Skip to content

Commit f16cd7b

Browse files
committed
Fixup missing typename keyword
1 parent fc2dc57 commit f16cd7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__atomic/atomic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ template <class _Tp>
147147
struct __atomic_base<_Tp, true> : public __atomic_base<_Tp, false> {
148148
using __base _LIBCPP_NODEBUG = __atomic_base<_Tp, false>;
149149

150-
using difference_type = __base::value_type;
150+
using difference_type = typename __base::value_type;
151151

152152
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __atomic_base() _NOEXCEPT = default;
153153

0 commit comments

Comments
 (0)