mirror of
https://github.com/anope/anope.git
synced 2026-07-03 06:13:13 +02:00
Use C++11's explicit override feature if available
This commit is contained in:
@@ -48,7 +48,7 @@ class CommandCSAppendTopic : public Command
|
||||
this->SetSyntax(_("\037channel\037 \037text\037"));
|
||||
}
|
||||
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms)
|
||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override
|
||||
{
|
||||
const Anope::string &newtopic = params[1];
|
||||
|
||||
@@ -84,7 +84,7 @@ class CommandCSAppendTopic : public Command
|
||||
return;
|
||||
}
|
||||
|
||||
bool OnHelp(CommandSource &source, const Anope::string &subcommand)
|
||||
bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override
|
||||
{
|
||||
this->SendSyntax(source);
|
||||
source.Reply(" ");
|
||||
|
||||
Reference in New Issue
Block a user