From 7e43cad1bcc2094e345e6e3fa5a06ff9d31e0ea7 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 31 Jan 2020 14:13:13 +0100 Subject: [PATCH] QUEEN: Added override keywords --- engines/queen/detection.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/engines/queen/detection.cpp b/engines/queen/detection.cpp index ed7dd7bddec..228499d7d24 100644 --- a/engines/queen/detection.cpp +++ b/engines/queen/detection.cpp @@ -484,23 +484,23 @@ public: QueenMetaEngine() : AdvancedMetaEngine(Queen::gameDescriptions, sizeof(Queen::QueenGameDescription), queenGames, optionsList) { } - const char *getEngineId() const { + const char *getEngineId() const override { return "queen"; } - virtual const char *getName() const { + virtual const char *getName() const override { return "Flight of the Amazon Queen"; } - virtual const char *getOriginalCopyright() const { + virtual const char *getOriginalCopyright() const override { return "Flight of the Amazon Queen (C) John Passfield and Steve Stamatiadis"; } - virtual bool hasFeature(MetaEngineFeature f) const; - virtual bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const; - virtual SaveStateList listSaves(const char *target) const; - virtual int getMaximumSaveSlot() const { return 99; } - virtual void removeSaveState(const char *target, int slot) const; + virtual bool hasFeature(MetaEngineFeature f) const override; + virtual bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const override; + virtual SaveStateList listSaves(const char *target) const override; + virtual int getMaximumSaveSlot() const override { return 99; } + virtual void removeSaveState(const char *target, int slot) const override; ADDetectedGame fallbackDetect(const FileMap &allFiles, const Common::FSList &fslist) const override; };