forked from OSchip/llvm-project
Align <atomic> with clang r163964 which disallows const _Atomic types.
llvm-svn: 164004
This commit is contained in:
parent
9712117a07
commit
a0bc10dca6
|
@ -555,7 +555,7 @@ kill_dependency(_Tp __y) _NOEXCEPT
|
|||
template <class _Tp, bool = is_integral<_Tp>::value && !is_same<_Tp, bool>::value>
|
||||
struct __atomic_base // false
|
||||
{
|
||||
_Atomic(_Tp) __a_;
|
||||
mutable _Atomic(_Tp) __a_;
|
||||
|
||||
_LIBCPP_INLINE_VISIBILITY
|
||||
bool is_lock_free() const volatile _NOEXCEPT
|
||||
|
|
Loading…
Reference in New Issue