summaryrefslogtreecommitdiff
path: root/include/builtinmodes.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-07-12 14:41:52 +0100
committerPeter Powell <petpow@saberuk.com>2017-07-12 14:41:52 +0100
commitd1df2bce56275e1297d94d82d4dbef6f6cf582b6 (patch)
tree3b968cb8a2b3b90b74ae0633e2a4a7fa04782d8e /include/builtinmodes.h
parentf471083cd0519d47c7c7a09029813ede41994f7b (diff)
Add CXX11_OVERRIDE to overridden members that lack it.
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
Diffstat (limited to 'include/builtinmodes.h')
-rw-r--r--include/builtinmodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/builtinmodes.h b/include/builtinmodes.h
index a77734ae3..bfb46823f 100644
--- a/include/builtinmodes.h
+++ b/include/builtinmodes.h
@@ -97,8 +97,8 @@ class ModeUserServerNoticeMask : public ModeHandler
public:
ModeUserServerNoticeMask();
- ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
- void OnParameterMissing(User* user, User* dest, Channel* channel);
+ ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding) CXX11_OVERRIDE;
+ void OnParameterMissing(User* user, User* dest, Channel* channel) CXX11_OVERRIDE;
/** Create a displayable mode string of the snomasks set on a given user
* @param user The user whose notice masks to format