Use std::max_align_t rather than __attribute__((__aligned__)) to get max alignment
authorChristopher Dykes <cdykes@fb.com>
Thu, 4 Aug 2016 23:32:18 +0000 (16:32 -0700)
committerFacebook Github Bot 5 <facebook-github-bot-5-bot@fb.com>
Thu, 4 Aug 2016 23:38:26 +0000 (16:38 -0700)
commitb22e53e035bce899409e19cf4f32d8b251758422
tree0759b072c63e90e711903029d684b1d2d1fa2a91
parent14410cc6cb0587cee511e15c61de9ce94819deae
Use std::max_align_t rather than __attribute__((__aligned__)) to get max alignment

Summary: Because the former is standardized, and the latter is a syntax error under MSVC.

Reviewed By: yfeldblum

Differential Revision: D3672667

fbshipit-source-id: c0149b11367e36ba5574625240c41a167348199f
folly/test/ThreadCachedArenaTest.cpp