diff --git a/core/AmThread.h b/core/AmThread.h index c90426ee..ca50f0b5 100644 --- a/core/AmThread.h +++ b/core/AmThread.h @@ -168,24 +168,6 @@ public: void add(AmThread*); }; -template -class AmThreadLocalStorage -{ - static thread_local std::unique_ptr t; - -public: - T* get() { - return t.get(); - } - - void set(T* p) { - t.reset(p); - } -}; - -template -thread_local std::unique_ptr AmThreadLocalStorage::t; - #endif // Local Variables: