Fixes warning: field 'isVertsOwner' will be initialized after field 'rect'.

This commit is contained in:
Xpol Wan 2016-04-14 17:09:37 +08:00
parent 3780064a82
commit cb0e768f32
1 changed files with 2 additions and 2 deletions

View File

@ -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;