summaryrefslogtreecommitdiff
path: root/include/modes.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-02-18 15:04:26 -0500
committerAdam <Adam@anope.org>2012-02-18 15:04:26 -0500
commitee5cd8493e34a1c049066ead25e9094b30cd49b5 (patch)
tree846c6dcd9bb2c4d721c6290a9b9d6b6ed880acdb /include/modes.h
parent41e8d276023e8fefc22fb89c2f81ae17b8222155 (diff)
Use C++11's explicit override feature if available
Diffstat (limited to 'include/modes.h')
-rw-r--r--include/modes.h8
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