[llvm] r319845 - [Orc] (Hopefully) Fix a missing typedef.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 14:14:35 PST 2017


Author: lhames
Date: Tue Dec  5 14:14:35 2017
New Revision: 319845

URL: http://llvm.org/viewvc/llvm-project?rev=319845&view=rev
Log:
[Orc] (Hopefully) Fix a missing typedef.

Modified:
    llvm/trunk/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h

Modified: llvm/trunk/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h?rev=319845&r1=319844&r2=319845&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h Tue Dec  5 14:14:35 2017
@@ -36,7 +36,7 @@ public:
   /// @brief Returns true if the pool is empty.
   bool empty() const;
 private:
-  using RefCountType = std::atomic_uint64_t;
+  using RefCountType = std::atomic<uint64_t>;
   using PoolMap = StringMap<RefCountType>;
   using PoolMapEntry = StringMapEntry<RefCountType>;
   mutable std::mutex PoolMutex;




More information about the llvm-commits mailing list