Move the alignment attribute in TokenBucket to a place where MSVC supports it
[folly.git] / folly / TokenBucket.h
index 4cd32561e728fe9842bb86bffebffd3e17d343fe..7ddf8fc23345359764f2a60dc98a84380fb3a8ed 100644 (file)
@@ -221,7 +221,7 @@ class ParameterizedDynamicTokenBucket {
     return true;
   }
 
-  std::atomic<double> zeroTime_ FOLLY_ALIGN_TO_AVOID_FALSE_SHARING;
+  FOLLY_ALIGN_TO_AVOID_FALSE_SHARING std::atomic<double> zeroTime_;
 };
 
 /**