From d1df2bce56275e1297d94d82d4dbef6f6cf582b6 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 12 Jul 2017 14:41:52 +0100 Subject: 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. --- include/builtinmodes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/builtinmodes.h') 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 ¶meter, bool adding); - void OnParameterMissing(User* user, User* dest, Channel* channel); + ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, 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 -- cgit v1.2.3