diff options
| author | Sadie Powell <sadie@witchery.services> | 2023-03-06 16:11:54 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2023-03-13 13:52:56 +0000 |
| commit | 29db25dac7aff36b4f7239a9fabd57230534cf35 (patch) | |
| tree | 9cc80ab7134514381f02835629ade620584020d0 /modules/commands/os_news.cpp | |
| parent | d210cd26952a4d4441223809dc259fcf6eaff5fd (diff) | |
Fix missing override keywords.
Diffstat (limited to 'modules/commands/os_news.cpp')
| -rw-r--r-- | modules/commands/os_news.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/commands/os_news.cpp b/modules/commands/os_news.cpp index 4cc98cc27..373774570 100644 --- a/modules/commands/os_news.cpp +++ b/modules/commands/os_news.cpp @@ -99,7 +99,7 @@ class MyNewsService : public NewsService public: MyNewsService(Module *m) : NewsService(m) { } - ~MyNewsService() + ~MyNewsService() override { for (unsigned i = 0; i < 3; ++i) for (unsigned j = 0; j < newsItems[i].size(); ++j) @@ -280,13 +280,13 @@ class NewsBase : public Command this->SetSyntax("LIST"); } - virtual ~NewsBase() + ~NewsBase() override { } - virtual void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) = 0; + void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) override = 0; - virtual bool OnHelp(CommandSource &source, const Anope::string &subcommand) = 0; + bool OnHelp(CommandSource &source, const Anope::string &subcommand) override = 0; }; class CommandOSLogonNews : public NewsBase |
