From 8ce04f9a65612b7553015428e617ba7c53913175 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 5 Sep 2015 11:44:21 -0400 Subject: General: Replace GC_ALIGN macros with alignas Standard supported alignment -> out with compiler-specific. --- Source/UnitTests/Common/BitFieldTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/UnitTests/Common/BitFieldTest.cpp') 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"); -- cgit v1.2.3