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_vhost.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_vhost.cpp') diff --git a/src/modules/m_vhost.cpp b/src/modules/m_vhost.cpp index 478a5100a..df8ca73ae 100644 --- a/src/modules/m_vhost.cpp +++ b/src/modules/m_vhost.cpp @@ -59,7 +59,7 @@ class CommandVhost : public Command syntax = " "; } - CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE + CmdResult Handle(User* user, const Params& parameters) override { MatchingConfigs matching = vhosts.equal_range(parameters[0]); @@ -89,7 +89,7 @@ class ModuleVHost : public Module { } - void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) override { CustomVhostMap newhosts; ConfigTagList tags = ServerInstance->Config->ConfTags("vhost"); @@ -114,7 +114,7 @@ class ModuleVHost : public Module cmd.vhosts.swap(newhosts); } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Provides masking of user hostnames via traditional /VHOST command", VF_VENDOR); } -- cgit v1.3.1-10-gc9f91