From ee5cd8493e34a1c049066ead25e9094b30cd49b5 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 18 Feb 2012 15:04:26 -0500 Subject: Use C++11's explicit override feature if available --- modules/extra/m_mysql.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'modules/extra/m_mysql.cpp') diff --git a/modules/extra/m_mysql.cpp b/modules/extra/m_mysql.cpp index 189a950d8..138c726d8 100644 --- a/modules/extra/m_mysql.cpp +++ b/modules/extra/m_mysql.cpp @@ -119,13 +119,13 @@ class MySQLService : public SQLProvider ~MySQLService(); - void Run(SQLInterface *i, const SQLQuery &query); + void Run(SQLInterface *i, const SQLQuery &query) anope_override; - SQLResult RunQuery(const SQLQuery &query); + SQLResult RunQuery(const SQLQuery &query) anope_override; - SQLQuery CreateTable(const Anope::string &table, const Serializable::serialized_data &data); + SQLQuery CreateTable(const Anope::string &table, const Serializable::serialized_data &data) anope_override; - SQLQuery GetTables(); + SQLQuery GetTables() anope_override; void Connect(); @@ -141,7 +141,7 @@ class DispatcherThread : public Thread, public Condition public: DispatcherThread() : Thread() { } - void Run(); + void Run() anope_override; }; class ModuleSQL; @@ -183,7 +183,7 @@ class ModuleSQL : public Module, public Pipe delete DThread; } - void OnReload() + void OnReload() anope_override { ConfigReader config; int i, num; @@ -238,7 +238,7 @@ class ModuleSQL : public Module, public Pipe } } - void OnModuleUnload(User *, Module *m) + void OnModuleUnload(User *, Module *m) anope_override { this->DThread->Lock(); @@ -263,7 +263,7 @@ class ModuleSQL : public Module, public Pipe this->OnNotify(); } - void OnNotify() + void OnNotify() anope_override { this->DThread->Lock(); std::deque finishedRequests = this->FinishedRequests; -- cgit