1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 10:36:38 +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
+5 -5
View File
@@ -28,7 +28,7 @@ struct EntryMsgImpl : EntryMsg, Serializable
~EntryMsgImpl();
void Serialize(Serialize::Data &data) const anope_override
void Serialize(Serialize::Data &data) const override
{
data["ci"] << this->chan;
data["creator"] << this->creator;
@@ -43,7 +43,7 @@ struct EntryMessageListImpl : EntryMessageList
{
EntryMessageListImpl(Extensible *) { }
EntryMsg* Create() anope_override
EntryMsg* Create() override
{
return new EntryMsgImpl();
}
@@ -197,7 +197,7 @@ class CommandEntryMessage : public Command
this->SetSyntax(_("\037channel\037 CLEAR"));
}
void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
void Execute(CommandSource &source, const std::vector<Anope::string> &params) override
{
ChannelInfo *ci = ChannelInfo::Find(params[0]);
if (ci == NULL)
@@ -232,7 +232,7 @@ class CommandEntryMessage : public Command
this->OnSyntaxError(source, "");
}
bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override
bool OnHelp(CommandSource &source, const Anope::string &subcommand) override
{
this->SendSyntax(source);
source.Reply(" ");
@@ -273,7 +273,7 @@ class CSEntryMessage : public Module
{
}
void OnJoinChannel(User *u, Channel *c) anope_override
void OnJoinChannel(User *u, Channel *c) override
{
if (u && c && c->ci && u->server->IsSynced())
{