mirror of
https://github.com/anope/anope.git
synced 2026-07-02 10:46:37 +02:00
Replace anope_{final,override} with their C++11 equivalent.
This commit is contained in:
@@ -20,7 +20,7 @@ class CommandOSModLoad : public Command
|
||||
this->SetSyntax(_("\037modname\037"));
|
||||
}
|
||||
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) override
|
||||
{
|
||||
const Anope::string &mname = params[0];
|
||||
|
||||
@@ -38,7 +38,7 @@ class CommandOSModLoad : public Command
|
||||
return;
|
||||
}
|
||||
|
||||
bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override
|
||||
bool OnHelp(CommandSource &source, const Anope::string &subcommand) override
|
||||
{
|
||||
this->SendSyntax(source);
|
||||
source.Reply(" ");
|
||||
@@ -57,7 +57,7 @@ class CommandOSModReLoad : public Command
|
||||
this->SetSyntax(_("\037modname\037"));
|
||||
}
|
||||
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) override
|
||||
{
|
||||
const Anope::string &mname = params[0];
|
||||
|
||||
@@ -111,7 +111,7 @@ class CommandOSModReLoad : public Command
|
||||
return;
|
||||
}
|
||||
|
||||
bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override
|
||||
bool OnHelp(CommandSource &source, const Anope::string &subcommand) override
|
||||
{
|
||||
this->SendSyntax(source);
|
||||
source.Reply(" ");
|
||||
@@ -129,7 +129,7 @@ class CommandOSModUnLoad : public Command
|
||||
this->SetSyntax(_("\037modname\037"));
|
||||
}
|
||||
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) override
|
||||
{
|
||||
const Anope::string &mname = params[0];
|
||||
|
||||
@@ -161,7 +161,7 @@ class CommandOSModUnLoad : public Command
|
||||
return;
|
||||
}
|
||||
|
||||
bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override
|
||||
bool OnHelp(CommandSource &source, const Anope::string &subcommand) override
|
||||
{
|
||||
this->SendSyntax(source);
|
||||
source.Reply(" ");
|
||||
|
||||
Reference in New Issue
Block a user