From aa637857c3c14ba73a23274e0834f441cecb09d9 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Fri, 21 Feb 2025 13:06:54 -0400 Subject: [PATCH] MT#62181 deprecate AmThreadLocalStorage Change-Id: I3d75f0fe3828f591ce0789c49be2cabafbae5437 --- core/AmThread.h | 18 ------------------ 1 file changed, 18 deletions(-) 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: