Add "override"

This commit is contained in:
CaiWenzhi 2014-01-20 13:44:44 +08:00
parent f10e1ee04c
commit 223857398d
1 changed files with 4 additions and 4 deletions

View File

@ -134,8 +134,8 @@ public:
* @return LinearGravity
*/
LinearGravity getGravity() const;
virtual LayoutParameter* createCloneInstance();
virtual void copyProperties(LayoutParameter* model);
virtual LayoutParameter* createCloneInstance() override;
virtual void copyProperties(LayoutParameter* model) override;
protected:
LinearGravity _linearGravity;
};
@ -209,8 +209,8 @@ public:
*/
const char* getRelativeName() const;
virtual LayoutParameter* createCloneInstance();
virtual void copyProperties(LayoutParameter* model);
virtual LayoutParameter* createCloneInstance() override;
virtual void copyProperties(LayoutParameter* model) override;
protected:
RelativeAlign _relativeAlign;
std::string _relativeWidgetName;