Cleanup: use override specifier everywhere, and enable gcc warning to check for it.

This commit is contained in:
Twan van Laarhoven
2020-05-16 00:23:18 +02:00
parent a7c47729c1
commit 5deaeeeb3e
113 changed files with 710 additions and 714 deletions
+3 -3
View File
@@ -20,9 +20,9 @@ public:
/// The set is optional
CLISetInterface(const SetP& set, bool quiet = false, bool run = true);
protected:
virtual void onAction(const Action&, bool) {}
virtual void onChangeSet();
virtual void onBeforeChangeSet();
void onAction(const Action&, bool) override {}
void onChangeSet() override;
void onBeforeChangeSet() override;
private:
bool quiet; ///< Supress prompts and other non-vital stuff
bool running; ///< Still running?