Remove packed attribute from aiVector2
Returning a reference to a member of packed member is UB
This commit is contained in:
@@ -99,7 +99,7 @@ public:
|
||||
operator aiVector2t<TOther> () const;
|
||||
|
||||
TReal x, y;
|
||||
} PACK_STRUCT;
|
||||
};
|
||||
|
||||
typedef aiVector2t<ai_real> aiVector2D;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user