diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-09-05 11:44:21 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-09-06 12:53:51 -0400 |
| commit | 8ce04f9a65612b7553015428e617ba7c53913175 (patch) | |
| tree | 2ffe9b6317ded8661a1470ac79dde386f3a0329c /Source/UnitTests/Common/BitFieldTest.cpp | |
| parent | c08a83a5aae41e7c8904295cfa62f932ea87ce02 (diff) | |
General: Replace GC_ALIGN macros with alignas
Standard supported alignment -> out with compiler-specific.
Diffstat (limited to 'Source/UnitTests/Common/BitFieldTest.cpp')
| -rw-r--r-- | Source/UnitTests/Common/BitFieldTest.cpp | 2 |
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"); |
