From f54e528677ce3eb29498676cf836ba2bfe82828c Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 28 Mar 2018 12:28:27 +0200 Subject: MOHAWK: Added override clauses --- engines/mohawk/cstime.h | 4 ++-- engines/mohawk/dialogs.h | 2 +- engines/mohawk/livingbooks.h | 4 ++-- engines/mohawk/riven.h | 14 +++++++------- 4 files changed, 12 insertions(+), 12 deletions(-) (limited to 'engines/mohawk') diff --git a/engines/mohawk/cstime.h b/engines/mohawk/cstime.h index 1c39a86ca0..9edd185085 100644 --- a/engines/mohawk/cstime.h +++ b/engines/mohawk/cstime.h @@ -129,7 +129,7 @@ enum CSTimeState { class MohawkEngine_CSTime : public MohawkEngine { protected: - Common::Error run(); + Common::Error run() override; public: MohawkEngine_CSTime(OSystem *syst, const MohawkGameDescription *gamedesc); @@ -142,7 +142,7 @@ public: CSTimeGraphics *_gfx; bool _needsUpdate; - GUI::Debugger *getDebugger() { return _console; } + GUI::Debugger *getDebugger() override { return _console; } CSTimeView *getView() { return _view; } CSTimeCase *getCase() { return _case; } CSTimeInterface *getInterface() { return _interface; } diff --git a/engines/mohawk/dialogs.h b/engines/mohawk/dialogs.h index efc1005737..d7e822c2a9 100644 --- a/engines/mohawk/dialogs.h +++ b/engines/mohawk/dialogs.h @@ -116,7 +116,7 @@ public: virtual ~MystOptionsDialog(); virtual void open() override; - virtual void handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data); + virtual void handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data) override; private: MohawkEngine_Myst *_vm; diff --git a/engines/mohawk/livingbooks.h b/engines/mohawk/livingbooks.h index 4b87b6464f..4649b9f5c9 100644 --- a/engines/mohawk/livingbooks.h +++ b/engines/mohawk/livingbooks.h @@ -707,7 +707,7 @@ protected: class MohawkEngine_LivingBooks : public MohawkEngine { protected: - Common::Error run(); + Common::Error run() override; public: MohawkEngine_LivingBooks(OSystem *syst, const MohawkGameDescription *gamedesc); @@ -725,7 +725,7 @@ public: Common::SeekableSubReadStreamEndian *wrapStreamEndian(uint32 tag, uint16 id); Common::String readString(Common::ReadStream *stream); Common::Rect readRect(Common::ReadStreamEndian *stream); - GUI::Debugger *getDebugger() { return _console; } + GUI::Debugger *getDebugger() override { return _console; } void addArchive(Archive *archive); void removeArchive(Archive *archive); diff --git a/engines/mohawk/riven.h b/engines/mohawk/riven.h index 86a431170f..def218dafd 100644 --- a/engines/mohawk/riven.h +++ b/engines/mohawk/riven.h @@ -79,7 +79,7 @@ typedef Common::HashMap