diff options
author | Sadie Powell <sadie@witchery.services> | 2021-04-27 21:41:19 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-04-27 21:41:19 +0100 |
commit | 095a25d4731c7b2df73174eaedecae90aa1e610b (patch) | |
tree | 2c0c6b855cd98f75fef89279b7022554c6d674c8 /modules/commands/os_sxline.cpp | |
parent | c00ecc5e024251213a71673a63efe24e10d0cdbe (diff) |
Add the anope_override keyword to methods that lack it.
Diffstat (limited to 'modules/commands/os_sxline.cpp')
-rw-r--r-- | modules/commands/os_sxline.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/os_sxline.cpp b/modules/commands/os_sxline.cpp index 4a0e92ed4..167115194 100644 --- a/modules/commands/os_sxline.cpp +++ b/modules/commands/os_sxline.cpp @@ -253,12 +253,12 @@ class CommandOSSXLineBase : public Command return; } - virtual bool OnHelp(CommandSource &source, const Anope::string &subcommand) = 0; + virtual bool OnHelp(CommandSource &source, const Anope::string &subcommand) anope_override = 0; }; class CommandOSSNLine : public CommandOSSXLineBase { - XLineManager *xlm() + XLineManager *xlm() anope_override { return this->snlines; } @@ -484,7 +484,7 @@ class CommandOSSNLine : public CommandOSSXLineBase class CommandOSSQLine : public CommandOSSXLineBase { - XLineManager *xlm() + XLineManager *xlm() anope_override { return this->sqlines; } |