Remove packed attribute from aiVector2

Returning a reference to a member of packed member is UB
This commit is contained in:
Turo Lamminen
2017-12-13 11:27:44 +02:00
parent 276fc5f466
commit 45ad63f373

View File

@@ -99,7 +99,7 @@ public:
operator aiVector2t<TOther> () const;
TReal x, y;
} PACK_STRUCT;
};
typedef aiVector2t<ai_real> aiVector2D;