diff --git a/include/Memory.h b/include/Memory.h index 5425b6c87..91a5a54e7 100644 --- a/include/Memory.h +++ b/include/Memory.h @@ -51,6 +51,7 @@ public: }; static MemoryManager::MmCounter _mm_counter; +static thread_local MemoryManager::MmCounter _mm_thread_counter; template class MmAllocator @@ -73,10 +74,6 @@ public: } typedef std::vector > vector; - -private: - MemoryManager::MmCounter m_counter; - MemoryManager::ThreadGuard m_threadGuard; }; class _AlignedAllocator_Base