ConcurrentHashMap
[folly.git] / folly / experimental / hazptr / hazptr-impl.h
index 60cf5ecd6ec5cbfeccd17df32a94aa8ddc294711..4dd0de889c3113cce692721edb8fdd7b5f2b1beb 100644 (file)
@@ -611,7 +611,7 @@ inline bool hazptr_tc::put(hazptr_rec* hprec) {
   return false;
 }
 
-inline class hazptr_tc& hazptr_tc() {
+FOLLY_ALWAYS_INLINE class hazptr_tc& hazptr_tc() {
   static thread_local class hazptr_tc tc;
   DEBUG_PRINT(&tc);
   return tc;