mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:07:42 +00:00
MkCastTo: Use override where applicable
Generates the derived classes with the override specifier to prevent warnings.
This commit is contained in:
@@ -125,7 +125,7 @@ public:
|
||||
|
||||
for tp in CENTITY_TYPES:
|
||||
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('''
|
||||
T* GetPtr() const { return ptr; }
|
||||
|
||||
Reference in New Issue
Block a user