summaryrefslogtreecommitdiff
path: root/modules/commands/os_session.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 /modules/commands/os_session.h
parent41e8d276023e8fefc22fb89c2f81ae17b8222155 (diff)
Use C++11's explicit override feature if available
Diffstat (limited to 'modules/commands/os_session.h')
-rw-r--r--modules/commands/os_session.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/os_session.h b/modules/commands/os_session.h
index 0d2cee9ad..561280170 100644
--- a/modules/commands/os_session.h
+++ b/modules/commands/os_session.h
@@ -17,8 +17,8 @@ struct Exception : Serializable
time_t time; /* When this exception was added */
time_t expires; /* Time when it expires. 0 == no expiry */
- Anope::string serialize_name() const { return "Exception"; }
- serialized_data serialize();
+ Anope::string serialize_name() const anope_override { return "Exception"; }
+ serialized_data serialize() anope_override;
static void unserialize(serialized_data &data);
};
@@ -36,7 +36,7 @@ class SessionService : public Service
virtual Exception *FindException(User *u) = 0;
- virtual Exception *FindException(const Anope::string &host) = 0;
+ virtual Exception *FindException(const Anope::string &host) = 0;
virtual ExceptionVector &GetExceptions() = 0;