[cfe-commits] [libcxx] r164004 - /libcxx/trunk/include/atomic
Howard Hinnant
hhinnant at apple.com
Sun Sep 16 13:33:10 PDT 2012
Author: hhinnant
Date: Sun Sep 16 15:33:09 2012
New Revision: 164004
URL: http://llvm.org/viewvc/llvm-project?rev=164004&view=rev
Log:
Align <atomic> with clang r163964 which disallows const _Atomic types.
Modified:
libcxx/trunk/include/atomic
Modified: libcxx/trunk/include/atomic
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/atomic?rev=164004&r1=164003&r2=164004&view=diff
==============================================================================
--- libcxx/trunk/include/atomic (original)
+++ libcxx/trunk/include/atomic Sun Sep 16 15:33:09 2012
@@ -555,7 +555,7 @@
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
More information about the cfe-commits
mailing list