diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/ADT/IntrusiveRefCntPtr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/IntrusiveRefCntPtr.h b/include/llvm/ADT/IntrusiveRefCntPtr.h index aa7ccdcf9c..c46ce9a159 100644 --- a/include/llvm/ADT/IntrusiveRefCntPtr.h +++ b/include/llvm/ADT/IntrusiveRefCntPtr.h @@ -99,7 +99,7 @@ namespace llvm { /// management of reference counts. template <class Derived> class ThreadSafeRefCountedBase { - mutable std::atomic_int RefCount; + mutable std::atomic<int> RefCount; protected: ThreadSafeRefCountedBase() : RefCount(0) {} |