summaryrefslogtreecommitdiff
path: root/modules/commands/os_sxline.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-02-18 15:04:26 -0500
committerAdam <Adam@anope.org>2012-02-18 15:04:26 -0500
commitee5cd8493e34a1c049066ead25e9094b30cd49b5 (patch)
tree846c6dcd9bb2c4d721c6290a9b9d6b6ed880acdb /modules/commands/os_sxline.cpp
parent41e8d276023e8fefc22fb89c2f81ae17b8222155 (diff)
Use C++11's explicit override feature if available
Diffstat (limited to 'modules/commands/os_sxline.cpp')
-rw-r--r--modules/commands/os_sxline.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/commands/os_sxline.cpp b/modules/commands/os_sxline.cpp
index db2cad0e7..e65811571 100644
--- a/modules/commands/os_sxline.cpp
+++ b/modules/commands/os_sxline.cpp
@@ -34,7 +34,7 @@ class SXLineDelCallback : public NumberList
source.Reply(_("Deleted %d entries from the %s list."), Deleted, this->command->name.c_str());
}
- void HandleNumber(unsigned Number)
+ void HandleNumber(unsigned Number) anope_override
{
if (!Number)
return;
@@ -127,7 +127,7 @@ class CommandOSSXLineBase : public Command
{
}
- void HandleNumber(unsigned Number)
+ void HandleNumber(unsigned Number) anope_override
{
if (!Number)
return;
@@ -220,7 +220,7 @@ class CommandOSSXLineBase : public Command
this->SetDesc(Anope::printf(_("Manipulate the %s list"), cmd.c_str()));
}
- void Execute(CommandSource &source, const std::vector<Anope::string> &params)
+ void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
{
const Anope::string &cmd = params[0];
@@ -250,7 +250,7 @@ class CommandOSSNLine : public CommandOSSXLineBase
return this->snlines;
}
- void OnAdd(CommandSource &source, const std::vector<Anope::string> &params)
+ void OnAdd(CommandSource &source, const std::vector<Anope::string> &params) anope_override
{
if (!this->xlm() ||! ircd->snline)
{
@@ -399,7 +399,7 @@ class CommandOSSNLine : public CommandOSSXLineBase
this->SetSyntax(_("CLEAR"));
}
- bool OnHelp(CommandSource &source, const Anope::string &subcommand)
+ bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override
{
this->SendSyntax(source);
source.Reply(" ");
@@ -451,7 +451,7 @@ class CommandOSSQLine : public CommandOSSXLineBase
return this->sqlines;
}
- void OnAdd(CommandSource &source, const std::vector<Anope::string> &params)
+ void OnAdd(CommandSource &source, const std::vector<Anope::string> &params) anope_override
{
if (!this->xlm() || !ircd->sqline)
{
@@ -598,7 +598,7 @@ class CommandOSSQLine : public CommandOSSXLineBase
this->SetSyntax(_("CLEAR"));
}
- bool OnHelp(CommandSource &source, const Anope::string &subcommand)
+ bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override
{
this->SendSyntax(source);
source.Reply(" ");