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
1 changed files with 1 additions and 1 deletions

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