diff options
| author | 2017-11-21 13:05:17 +0000 | |
|---|---|---|
| committer | 2017-11-21 15:51:45 +0000 | |
| commit | 91e0af0fc4889f20d2f63426f8fe379674fc0393 (patch) | |
| tree | d3e39ed4c011b42054994e48a289eee51db9d879 /src/modules/m_modenotice.cpp | |
| parent | Inherit non-core connect class settings properly. (diff) | |
Add the override keyword in places that it is missing.
GCCs warnings for this are much better than Clangs.
Diffstat (limited to 'src/modules/m_modenotice.cpp')
| -rw-r--r-- | src/modules/m_modenotice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_modenotice.cpp b/src/modules/m_modenotice.cpp index 056eb4a62..3d12f98d1 100644 --- a/src/modules/m_modenotice.cpp +++ b/src/modules/m_modenotice.cpp @@ -28,7 +28,7 @@ class CommandModeNotice : public Command flags_needed = 'o'; } - CmdResult Handle(const std::vector<std::string>& parameters, User *src) + CmdResult Handle(const std::vector<std::string>& parameters, User* src) CXX11_OVERRIDE { std::string msg = "*** From " + src->nick + ": " + parameters[1]; int mlen = parameters[0].length(); @@ -47,7 +47,7 @@ next_user: ; return CMD_SUCCESS; } - RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters) + RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters) CXX11_OVERRIDE { return ROUTE_OPT_BCAST; } |
