Commit dd6fff71 authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot

Move the alignment attribute in TokenBucket to a place where MSVC supports it

Summary: MSVC doesn't support the aligment attribute being after the field name.

Reviewed By: yfeldblum

Differential Revision: D3832314

fbshipit-source-id: 6a56db245e01922ede6b9b93eb1c8aecc835e2bf
parent 1d9d5cbe
...@@ -221,7 +221,7 @@ class ParameterizedDynamicTokenBucket { ...@@ -221,7 +221,7 @@ class ParameterizedDynamicTokenBucket {
return true; return true;
} }
std::atomic<double> zeroTime_ FOLLY_ALIGN_TO_AVOID_FALSE_SHARING; FOLLY_ALIGN_TO_AVOID_FALSE_SHARING std::atomic<double> zeroTime_;
}; };
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment