diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/ADT/IntrusiveRefCntPtr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h b/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h index aa7ccdcf9c7..c46ce9a1598 100644 --- a/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h +++ b/llvm/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) {} |

