GLK: COMPREHEND: Added missing override keywords

This commit is contained in:
Eugene Sandulenko 2020-10-17 11:44:23 +02:00
parent ee7abe78f4
commit b9b3ba3285
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ public:
virtual byte getOpcode(const Instruction *instr) {
return instr->_opcode;
}
virtual ScriptOpcode getScriptOpcode(const Instruction *instr) {
virtual ScriptOpcode getScriptOpcode(const Instruction *instr) override {
return _opcodeMap[getOpcode(instr)];
}
};

View File

@ -74,7 +74,7 @@ public:
/**
* Indicates whether an autosave can currently be saved.
*/
virtual bool canSaveAutosaveCurrently() {
virtual bool canSaveAutosaveCurrently() override {
/* ZCode saves also include the execution stack.
* So I don't know how to do autosaves in the background
* without ending up with an invalid stack state