1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 06:53:13 +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
@@ -328,7 +328,7 @@ class EOld : public Module
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
}
EventReturn OnEncrypt(const Anope::string &src, Anope::string &dest)
EventReturn OnEncrypt(const Anope::string &src, Anope::string &dest) anope_override
{
MD5_CTX context;
char digest[33] = "", digest2[17] = "";
@@ -349,7 +349,7 @@ class EOld : public Module
return EVENT_ALLOW;
}
EventReturn OnCheckAuthentication(Command *c, CommandSource *source, const std::vector<Anope::string> &params, const Anope::string &account, const Anope::string &password)
EventReturn OnCheckAuthentication(Command *c, CommandSource *source, const std::vector<Anope::string> &params, const Anope::string &account, const Anope::string &password) anope_override
{
NickAlias *na = findnick(account);
NickCore *nc = na ? na->nc : NULL;