aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/servercommand.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-01-25 02:52:11 +0000
committerGravatar Sadie Powell2019-01-25 02:52:11 +0000
commitc78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8 (patch)
tree4d7b4e6135e4b8340698419a83bc29edec18a5ea /src/modules/m_spanningtree/servercommand.h
parentRemove the DEPRECATED_METHOD macro. (diff)
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_spanningtree/servercommand.h')
-rw-r--r--src/modules/m_spanningtree/servercommand.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree/servercommand.h b/src/modules/m_spanningtree/servercommand.h
index 7e4af3b48..ce8a718ab 100644
--- a/src/modules/m_spanningtree/servercommand.h
+++ b/src/modules/m_spanningtree/servercommand.h
@@ -40,10 +40,10 @@ class ServerCommand : public CommandBase
/** Register this object in the ServerCommandManager
*/
- void RegisterService() CXX11_OVERRIDE;
+ void RegisterService() override;
virtual CmdResult Handle(User* user, Params& parameters) = 0;
- RouteDescriptor GetRouting(User* user, const Params& parameters) CXX11_OVERRIDE;
+ RouteDescriptor GetRouting(User* user, const Params& parameters) override;
/**
* Extract the TS from a string.
@@ -65,7 +65,7 @@ class UserOnlyServerCommand : public ServerCommand
UserOnlyServerCommand(Module* Creator, const std::string& Name, unsigned int MinPara = 0, unsigned int MaxPara = 0)
: ServerCommand(Creator, Name, MinPara, MaxPara) { }
- CmdResult Handle(User* user, Params& parameters) CXX11_OVERRIDE
+ CmdResult Handle(User* user, Params& parameters) override
{
RemoteUser* remoteuser = IS_REMOTE(user);
if (!remoteuser)
@@ -84,7 +84,7 @@ class ServerOnlyServerCommand : public ServerCommand
ServerOnlyServerCommand(Module* Creator, const std::string& Name, unsigned int MinPara = 0, unsigned int MaxPara = 0)
: ServerCommand(Creator, Name, MinPara, MaxPara) { }
- CmdResult Handle(User* user, CommandBase::Params& parameters) CXX11_OVERRIDE
+ CmdResult Handle(User* user, CommandBase::Params& parameters) override
{
if (!IS_SERVER(user))
throw ProtocolException("Invalid source");