DescriptionUse 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
Committed: https://skia.googlesource.com/skia/+/12ae597ef54c35e9c447f5f52ecbc153503e8b73
Patch Set 1 #
Total comments: 1
Patch Set 2 : Fix clang builds. #Patch Set 3 : Remove comment. #
Messages
Total messages: 25 (14 generated)
|