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_check.cpp | |
| parent | Inherit non-core connect class settings properly. (diff) | |
| download | inspircd++-91e0af0fc4889f20d2f63426f8fe379674fc0393.tar.gz inspircd++-91e0af0fc4889f20d2f63426f8fe379674fc0393.tar.bz2 inspircd++-91e0af0fc4889f20d2f63426f8fe379674fc0393.zip | |
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_check.cpp')
| -rw-r--r-- | src/modules/m_check.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index e401c79f1..f2da47f1b 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -140,7 +140,7 @@ class CommandCheck : public Command return ret; } - CmdResult Handle (const std::vector<std::string> ¶meters, User *user) + CmdResult Handle(const std::vector<std::string>& parameters, User* user) CXX11_OVERRIDE { if (parameters.size() > 1 && parameters[1] != ServerInstance->Config->ServerName) return CMD_SUCCESS; @@ -301,7 +301,7 @@ class CommandCheck : public Command 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 { if ((parameters.size() > 1) && (parameters[1].find('.') != std::string::npos)) return ROUTE_OPT_UCAST(parameters[1]); |
