summaryrefslogtreecommitdiff
path: root/include/builtinmodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/builtinmodes.h')
-rw-r--r--include/builtinmodes.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/builtinmodes.h b/include/builtinmodes.h
index 49198b650..3bd3e2566 100644
--- a/include/builtinmodes.h
+++ b/include/builtinmodes.h
@@ -42,9 +42,9 @@ class ModeChannelKey : public ParamMode<ModeChannelKey, LocalStringExt>
static const std::string::size_type maxkeylen = 32;
public:
ModeChannelKey();
- ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
- void SerializeParam(Channel* chan, const std::string* key, std::string& out);
- ModeAction OnSet(User* source, Channel* chan, std::string& param);
+ ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string& parameter, bool adding) CXX11_OVERRIDE;
+ void SerializeParam(Channel* chan, const std::string* key, std::string& out) ;
+ ModeAction OnSet(User* source, Channel* chan, std::string& param) CXX11_OVERRIDE;
};
/** Channel mode +l
@@ -53,9 +53,9 @@ class ModeChannelLimit : public ParamMode<ModeChannelLimit, LocalIntExt>
{
public:
ModeChannelLimit();
- bool ResolveModeConflict(std::string &their_param, const std::string &our_param, Channel* channel);
+ bool ResolveModeConflict(std::string& their_param, const std::string& our_param, Channel* channel) CXX11_OVERRIDE;
void SerializeParam(Channel* chan, intptr_t n, std::string& out);
- ModeAction OnSet(User* source, Channel* channel, std::string& parameter);
+ ModeAction OnSet(User* source, Channel* channel, std::string& parameter) CXX11_OVERRIDE;
};
/** Channel mode +o
@@ -114,5 +114,5 @@ class ModeUserOperator : public ModeHandler
{
public:
ModeUserOperator();
- ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding);
+ ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding) CXX11_OVERRIDE;
};