mirror of
https://github.com/anope/anope.git
synced 2026-07-09 16:03:13 +02:00
Use C++11's explicit override feature if available
This commit is contained in:
@@ -205,7 +205,7 @@ class CommandMSSet : public Command
|
||||
this->SetSyntax(_("\037option\037 \037parameters\037"));
|
||||
}
|
||||
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override
|
||||
{
|
||||
User *u = source.u;
|
||||
const Anope::string &cmd = params[0];
|
||||
@@ -225,7 +225,7 @@ class CommandMSSet : public Command
|
||||
return;
|
||||
}
|
||||
|
||||
bool OnHelp(CommandSource &source, const Anope::string &subcommand)
|
||||
bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override
|
||||
{
|
||||
if (subcommand.empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user