mirror of https://github.com/AxioDL/metaforce.git
MkCastTo: Use override where applicable
Generates the derived classes with the override specifier to prevent warnings.
This commit is contained in:
parent
9e2486ba0e
commit
853df176ed
|
@ -125,7 +125,7 @@ public:
|
||||||
|
|
||||||
for tp in CENTITY_TYPES:
|
for tp in CENTITY_TYPES:
|
||||||
if type(tp) == tuple:
|
if type(tp) == tuple:
|
||||||
headerf.write(' void Visit(%s* p);\n' % getqualified(tp))
|
headerf.write(' void Visit(%s* p) override;\n' % getqualified(tp))
|
||||||
|
|
||||||
headerf.write('''
|
headerf.write('''
|
||||||
T* GetPtr() const { return ptr; }
|
T* GetPtr() const { return ptr; }
|
||||||
|
|
Loading…
Reference in New Issue