mirror of https://github.com/axmolengine/axmol.git
Merge pull request #13961 from zilongshanren/fix-xcode7-override-issue
fix missing override keyword
This commit is contained in:
commit
aa6d5e1a04
|
@ -490,7 +490,7 @@ protected:
|
|||
PhysicsBody();
|
||||
virtual ~PhysicsBody();
|
||||
|
||||
virtual bool init();
|
||||
virtual bool init()override;
|
||||
|
||||
virtual void setPosition(float positionX, float positionY);
|
||||
|
||||
|
@ -498,7 +498,7 @@ protected:
|
|||
|
||||
virtual void setScale(float scaleX, float scaleY);
|
||||
|
||||
void update(float delta);
|
||||
void update(float delta)override;
|
||||
|
||||
void removeJoint(PhysicsJoint* joint);
|
||||
|
||||
|
|
Loading…
Reference in New Issue