diff options
| author | 2019-01-25 02:52:11 +0000 | |
|---|---|---|
| committer | 2019-01-25 02:52:11 +0000 | |
| commit | c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8 (patch) | |
| tree | 4d7b4e6135e4b8340698419a83bc29edec18a5ea /src/modules/m_helpop.cpp | |
| parent | Remove the DEPRECATED_METHOD macro. (diff) | |
| download | inspircd++-c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8.tar.gz inspircd++-c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8.tar.bz2 inspircd++-c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8.zip | |
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_helpop.cpp')
| -rw-r--r-- | src/modules/m_helpop.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 = "<any-text>"; } - 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); } |
