From c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 25 Jan 2019 02:52:11 +0000 Subject: Replace the override macro with the override keyword. --- src/modules/m_helpop.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/m_helpop.cpp') diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index f913140d6..f6e9fac7c 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -67,7 +67,7 @@ class CommandHelpop : public Command syntax = ""; } - CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE + CmdResult Handle(User* user, const Params& parameters) override { const std::string& parameter = (!parameters.empty() ? parameters[0] : startkey); @@ -120,7 +120,7 @@ class ModuleHelpop : public Module, public Whois::EventListener { } - void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) override { HelpopMap help; @@ -152,7 +152,7 @@ class ModuleHelpop : public Module, public Whois::EventListener cmd.nohelp = tag->getString("nohelp", "There is no help for the topic you searched for. Please try again.", 1); } - void OnWhois(Whois::Context& whois) CXX11_OVERRIDE + void OnWhois(Whois::Context& whois) override { if (whois.GetTarget()->IsModeSet(ho)) { @@ -160,7 +160,7 @@ class ModuleHelpop : public Module, public Whois::EventListener } } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Provides the /HELPOP command for useful information", VF_VENDOR); } -- cgit v1.3.1-10-gc9f91