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/regchannel.h | |
parent | 41e8d276023e8fefc22fb89c2f81ae17b8222155 (diff) |
Use C++11's explicit override feature if available
Diffstat (limited to 'include/regchannel.h')
-rw-r--r-- | include/regchannel.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/regchannel.h b/include/regchannel.h index 614b98f19..851d98f19 100644 --- a/include/regchannel.h +++ b/include/regchannel.h @@ -88,8 +88,8 @@ struct CoreExport BadWord : Serializable Anope::string word; BadWordType type; - Anope::string serialize_name() const; - serialized_data serialize(); + Anope::string serialize_name() const anope_override; + serialized_data serialize() anope_override; static void unserialize(serialized_data &); }; @@ -118,8 +118,8 @@ class CoreExport AutoKick : public Flags<AutoKickFlag>, public Serializable time_t addtime; time_t last_used; - Anope::string serialize_name() const; - serialized_data serialize(); + Anope::string serialize_name() const anope_override; + serialized_data serialize() anope_override; static void unserialize(serialized_data &); }; @@ -135,8 +135,8 @@ struct CoreExport ModeLock : Serializable ModeLock(ChannelInfo *ch, bool s, ChannelModeName n, const Anope::string &p, const Anope::string &se = "", time_t c = Anope::CurTime); - Anope::string serialize_name() const; - serialized_data serialize(); + Anope::string serialize_name() const anope_override; + serialized_data serialize() anope_override; static void unserialize(serialized_data &); }; @@ -153,8 +153,8 @@ struct CoreExport LogSetting : Serializable Anope::string creator; time_t created; - Anope::string serialize_name() const; - serialized_data serialize(); + Anope::string serialize_name() const anope_override; + serialized_data serialize() anope_override; static void unserialize(serialized_data &); }; @@ -212,8 +212,8 @@ class CoreExport ChannelInfo : public Extensible, public Flags<ChannelInfoFlag, int16_t floodlines, floodsecs; /* For FLOOD kicker */ int16_t repeattimes; /* For REPEAT kicker */ - Anope::string serialize_name() const; - serialized_data serialize(); + Anope::string serialize_name() const anope_override; + serialized_data serialize() anope_override; static void unserialize(serialized_data &); /** Change the founder of the channek |