summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/BitFieldTest.cpp
diff options
context:
space:
mode:
authorflacs <tilkax@gmail.com>2015-09-11 17:00:13 +0000
committerflacs <tilkax@gmail.com>2015-09-11 17:00:13 +0000
commitc5685ba53a6866cce5c32bf0c3bbbd7aa52dbf6c (patch)
tree7886e61f016f7835a7aadf2bb670c82787b94064 /Source/UnitTests/Common/BitFieldTest.cpp
parentd7acf065059ae84eda86e3feb27e0d5c2283be0b (diff)
parent8ce04f9a65612b7553015428e617ba7c53913175 (diff)
Merge pull request #2972 from lioncash/align
General: Replace GC_ALIGN macros with alignas
Diffstat (limited to 'Source/UnitTests/Common/BitFieldTest.cpp')
-rw-r--r--Source/UnitTests/Common/BitFieldTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/UnitTests/Common/BitFieldTest.cpp b/Source/UnitTests/Common/BitFieldTest.cpp
index f3a6a4ca2a..cb49e24cf3 100644
--- a/Source/UnitTests/Common/BitFieldTest.cpp
+++ b/Source/UnitTests/Common/BitFieldTest.cpp
@@ -137,7 +137,7 @@ TEST(BitField, Alignment)
};
#pragma pack()
- GC_ALIGNED16(OddlyAlignedTestStruct test_struct);
+ alignas(16) OddlyAlignedTestStruct test_struct;
TestUnion& object = test_struct.obj;
static_assert(alignof(decltype(test_struct.obj.signed_1bit)) == 1,
"Incorrect variable alignment");