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 /src/modules/m_delaymsg.cpp | |
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 'src/modules/m_delaymsg.cpp')
-rw-r--r-- | src/modules/m_delaymsg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_delaymsg.cpp b/src/modules/m_delaymsg.cpp index 3471c7fd2..247630e65 100644 --- a/src/modules/m_delaymsg.cpp +++ b/src/modules/m_delaymsg.cpp @@ -30,12 +30,12 @@ class DelayMsgMode : public ParamMode<DelayMsgMode, LocalIntExt> ranktoset = ranktounset = OP_VALUE; } - bool ResolveModeConflict(std::string &their_param, const std::string &our_param, Channel*) + bool ResolveModeConflict(std::string& their_param, const std::string& our_param, Channel*) CXX11_OVERRIDE { return (atoi(their_param.c_str()) < atoi(our_param.c_str())); } - ModeAction OnSet(User* source, Channel* chan, std::string& parameter); + ModeAction OnSet(User* source, Channel* chan, std::string& parameter) CXX11_OVERRIDE; void OnUnset(User* source, Channel* chan); void SerializeParam(Channel* chan, int n, std::string& out) |