diff options
author | Adam <Adam@anope.org> | 2012-02-18 15:04:26 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-02-18 15:04:26 -0500 |
commit | ee5cd8493e34a1c049066ead25e9094b30cd49b5 (patch) | |
tree | 846c6dcd9bb2c4d721c6290a9b9d6b6ed880acdb /include/modes.h | |
parent | 41e8d276023e8fefc22fb89c2f81ae17b8222155 (diff) |
Use C++11's explicit override feature if available
Diffstat (limited to 'include/modes.h')
-rw-r--r-- | include/modes.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/modes.h b/include/modes.h index b1195d27d..9cfc607cc 100644 --- a/include/modes.h +++ b/include/modes.h @@ -304,7 +304,7 @@ class CoreExport ChannelModeKey : public ChannelModeParam public: ChannelModeKey(char modeChar) : ChannelModeParam(CMODE_KEY, modeChar) { } - bool IsValid(const Anope::string &value) const; + bool IsValid(const Anope::string &value) const anope_override; }; /** This class is used for channel mode +A (Admin only) @@ -316,7 +316,7 @@ class CoreExport ChannelModeAdmin : public ChannelMode ChannelModeAdmin(char modeChar) : ChannelMode(CMODE_ADMINONLY, modeChar) { } /* Opers only */ - bool CanSet(User *u) const; + bool CanSet(User *u) const anope_override; }; /** This class is used for channel mode +O (Opers only) @@ -328,7 +328,7 @@ class CoreExport ChannelModeOper : public ChannelMode ChannelModeOper(char modeChar) : ChannelMode(CMODE_OPERONLY, modeChar) { } /* Opers only */ - bool CanSet(User *u) const; + bool CanSet(User *u) const anope_override; }; /** This class is used for channel mode +r (registered channel) @@ -340,7 +340,7 @@ class CoreExport ChannelModeRegistered : public ChannelMode ChannelModeRegistered(char modeChar) : ChannelMode(CMODE_REGISTERED, modeChar) { } /* No one mlocks +r */ - bool CanSet(User *u) const; + bool CanSet(User *u) const anope_override; }; enum StackerType |