commit | 12ae597ef54c35e9c447f5f52ecbc153503e8b73 | [log] [tgz] |
---|---|---|
author | herb <herb@google.com> | Fri Nov 04 08:41:01 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Nov 04 08:41:01 2016 -0700 |
tree | e284d94b5c97fc67684791d393bc80a176f957a9 | |
parent | bab7945563c2b01f882b37a22b7b3c7ff0e8a3d8 [diff] |
Use alignas to force alignment. Using alignas reduces code and platform specific macros. Use alignas instead of std::aligned_storage because it is unimplemneted in MSVC 2015. Here is the bug from MS: https://connect.microsoft.com/VisualStudio/feedback/details/1559873/std-aligned-storage-cannot-align-type-with-16-byte BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2468243002 TBR=reed@google.com Review-Url: https://codereview.chromium.org/2473143002