projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move the alignment attribute in TokenBucket to a place where MSVC supports it
[folly.git]
/
folly
/
TokenBucket.h
diff --git
a/folly/TokenBucket.h
b/folly/TokenBucket.h
index 4cd32561e728fe9842bb86bffebffd3e17d343fe..7ddf8fc23345359764f2a60dc98a84380fb3a8ed 100644
(file)
--- a/
folly/TokenBucket.h
+++ b/
folly/TokenBucket.h
@@
-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_
;
};
/**