mirror of https://github.com/axmolengine/axmol.git
Fixes warning: field 'isVertsOwner' will be initialized after field 'rect'.
This commit is contained in:
parent
3780064a82
commit
cb0e768f32
|
@ -55,9 +55,9 @@ public:
|
|||
* @return PolygonInfo object
|
||||
*/
|
||||
PolygonInfo():
|
||||
isVertsOwner(true),
|
||||
rect(cocos2d::Rect::ZERO),
|
||||
filename("")
|
||||
filename(""),
|
||||
isVertsOwner(true)
|
||||
{
|
||||
triangles.verts = nullptr;
|
||||
triangles.indices = nullptr;
|
||||
|
|
Loading…
Reference in New Issue