diff --git a/folly/detail/ThreadLocalDetail.h b/folly/detail/ThreadLocalDetail.h index 8ee4fca54e4..ea4660ae704 100644 --- a/folly/detail/ThreadLocalDetail.h +++ b/folly/detail/ThreadLocalDetail.h @@ -562,7 +562,7 @@ struct FOLLY_EXPORT StaticMeta final : StaticMetaBase { return instance; } - FOLLY_EXPORT FOLLY_ALWAYS_INLINE static ElementWrapper& get(EntryID* ent) { + FOLLY_ALWAYS_INLINE static ElementWrapper& get(EntryID* ent) { // Eliminate as many branches and as much extra code as possible in the // cached fast path, leaving only one branch here and one indirection // below. @@ -582,8 +582,7 @@ struct FOLLY_EXPORT StaticMeta final : StaticMetaBase { * StaticMetaBase::allId2ThreadEntrySets_ updated with ThreadEntry* whenever a * ThreadLocal is set/released. */ - FOLLY_EXPORT FOLLY_ALWAYS_INLINE static ThreadEntry* getThreadEntry( - EntryID* ent) { + FOLLY_ALWAYS_INLINE static ThreadEntry* getThreadEntry(EntryID* ent) { // Eliminate as many branches and as much extra code as possible in the // cached fast path, leaving only one branch here and one indirection below. uint32_t id = ent->getOrInvalid();