mirror of https://github.com/axmolengine/axmol.git
Add "override"
This commit is contained in:
parent
f10e1ee04c
commit
223857398d
|
@ -134,8 +134,8 @@ public:
|
||||||
* @return LinearGravity
|
* @return LinearGravity
|
||||||
*/
|
*/
|
||||||
LinearGravity getGravity() const;
|
LinearGravity getGravity() const;
|
||||||
virtual LayoutParameter* createCloneInstance();
|
virtual LayoutParameter* createCloneInstance() override;
|
||||||
virtual void copyProperties(LayoutParameter* model);
|
virtual void copyProperties(LayoutParameter* model) override;
|
||||||
protected:
|
protected:
|
||||||
LinearGravity _linearGravity;
|
LinearGravity _linearGravity;
|
||||||
};
|
};
|
||||||
|
@ -209,8 +209,8 @@ public:
|
||||||
*/
|
*/
|
||||||
const char* getRelativeName() const;
|
const char* getRelativeName() const;
|
||||||
|
|
||||||
virtual LayoutParameter* createCloneInstance();
|
virtual LayoutParameter* createCloneInstance() override;
|
||||||
virtual void copyProperties(LayoutParameter* model);
|
virtual void copyProperties(LayoutParameter* model) override;
|
||||||
protected:
|
protected:
|
||||||
RelativeAlign _relativeAlign;
|
RelativeAlign _relativeAlign;
|
||||||
std::string _relativeWidgetName;
|
std::string _relativeWidgetName;
|
||||||
|
|
Loading…
Reference in New Issue