2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-08-04 08:55:35 +00:00

MkCastTo: Use override where applicable

Generates the derived classes with the override specifier to prevent
warnings.
This commit is contained in:
Lioncash 2019-10-17 22:15:22 -04:00
parent 9e2486ba0e
commit 853df176ed

View File

@ -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; }