diff options
author | Peter Powell <petpow@saberuk.com> | 2017-11-21 13:05:17 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-11-21 15:51:45 +0000 |
commit | 91e0af0fc4889f20d2f63426f8fe379674fc0393 (patch) | |
tree | d3e39ed4c011b42054994e48a289eee51db9d879 /include/ctables.h | |
parent | 3013a9dfbf0c8c980dd59183c38a702e8179ee13 (diff) |
Add the override keyword in places that it is missing.
GCCs warnings for this are much better than Clangs.
Diffstat (limited to 'include/ctables.h')
-rw-r--r-- | include/ctables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ctables.h b/include/ctables.h index bba395919..43a311a66 100644 --- a/include/ctables.h +++ b/include/ctables.h @@ -236,7 +236,7 @@ class CoreExport SplitCommand : public Command public: SplitCommand(Module* me, const std::string &cmd, unsigned int minpara = 0, unsigned int maxpara = 0) : Command(me, cmd, minpara, maxpara) {} - virtual CmdResult Handle(const std::vector<std::string>& parameters, User* user); + CmdResult Handle(const std::vector<std::string>& parameters, User* user) CXX11_OVERRIDE; virtual CmdResult HandleLocal(const std::vector<std::string>& parameters, LocalUser* user); virtual CmdResult HandleRemote(const std::vector<std::string>& parameters, RemoteUser* user); virtual CmdResult HandleServer(const std::vector<std::string>& parameters, FakeUser* user); |