1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 08:03:13 +02:00

Replace anope_{final,override} with their C++11 equivalent.

This commit is contained in:
Sadie Powell
2022-01-03 16:50:06 +00:00
parent d76d747196
commit a5f7aac295
202 changed files with 1517 additions and 1528 deletions
+6 -6
View File
@@ -21,7 +21,7 @@ class IdentifyInterface : public LDAPInterface
{
}
void OnResult(const LDAPResult &r) anope_override
void OnResult(const LDAPResult &r) override
{
if (!u || !u->Account())
return;
@@ -65,11 +65,11 @@ class IdentifyInterface : public LDAPInterface
}
}
void OnError(const LDAPResult &r) anope_override
void OnError(const LDAPResult &r) override
{
}
void OnDelete() anope_override
void OnDelete() override
{
delete this;
}
@@ -90,7 +90,7 @@ class LDAPOper : public Module
}
void OnReload(Configuration::Conf *conf) anope_override
void OnReload(Configuration::Conf *conf) override
{
Configuration::Block *config = Config->GetModule(this);
@@ -105,7 +105,7 @@ class LDAPOper : public Module
my_opers.clear();
}
void OnNickIdentify(User *u) anope_override
void OnNickIdentify(User *u) override
{
try
{
@@ -124,7 +124,7 @@ class LDAPOper : public Module
}
}
void OnDelCore(NickCore *nc) anope_override
void OnDelCore(NickCore *nc) override
{
if (nc->o != NULL && my_opers.count(nc->o) > 0)
{