1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 11:43:15 +02:00

Use C++11's explicit override feature if available

This commit is contained in:
Adam
2012-02-18 15:04:26 -05:00
parent 41e8d27602
commit ee5cd8493e
201 changed files with 995 additions and 1003 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ class HelpChannel : public Module
OnReload();
}
EventReturn OnChannelModeSet(Channel *c, ChannelModeName Name, const Anope::string &param)
EventReturn OnChannelModeSet(Channel *c, ChannelModeName Name, const Anope::string &param) anope_override
{
if (Name == CMODE_OP && c && c->ci && c->name.equals_ci(this->HelpChan))
{
@@ -35,7 +35,7 @@ class HelpChannel : public Module
return EVENT_CONTINUE;
}
void OnReload()
void OnReload() anope_override
{
ConfigReader config;