Explicit enforcement of alignment for all aligned types, including structures with aligned members. (Compiler handholding)
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
/////////////////////////////
|
||||
#include "llquaternion.h"
|
||||
|
||||
LL_ALIGN_PREFIX(16)
|
||||
class LLQuaternion2
|
||||
{
|
||||
public:
|
||||
@@ -100,8 +101,8 @@ public:
|
||||
|
||||
protected:
|
||||
|
||||
LLVector4a mQ;
|
||||
LL_ALIGN_16(LLVector4a mQ);
|
||||
|
||||
};
|
||||
} LL_ALIGN_POSTFIX(16);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user