summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-08-21 14:50:09 +0100
committerPeter Powell <petpow@saberuk.com>2018-08-21 15:47:45 +0100
commit71c367f89f5384eb05cf191f63ed5094e90b46ad (patch)
treebf9abac69687bb1449729333b04b48f86eb79084 /src/modules/extra
parente7c182c4a5fbbe54063139a4c8c7df73aa36f177 (diff)
Fix a few things that should be marked as override but aren't.
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_mysql.cpp2
-rw-r--r--src/modules/extra/m_pgsql.cpp2
-rw-r--r--src/modules/extra/m_sqlite3.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp
index 45ba67e4e..41c3a2a65 100644
--- a/src/modules/extra/m_mysql.cpp
+++ b/src/modules/extra/m_mysql.cpp
@@ -203,7 +203,7 @@ class MySQLresult : public SQL::Result
result.assign(colnames.begin(), colnames.end());
}
- bool HasColumn(const std::string& column, size_t& index)
+ bool HasColumn(const std::string& column, size_t& index) CXX11_OVERRIDE
{
for (size_t i = 0; i < colnames.size(); ++i)
{
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp
index 220168b84..ec89208dd 100644
--- a/src/modules/extra/m_pgsql.cpp
+++ b/src/modules/extra/m_pgsql.cpp
@@ -122,7 +122,7 @@ class PgSQLresult : public SQL::Result
result = colnames;
}
- bool HasColumn(const std::string& column, size_t& index)
+ bool HasColumn(const std::string& column, size_t& index) CXX11_OVERRIDE
{
if (colnames.empty())
getColNames();
diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp
index 2029181bf..b46810062 100644
--- a/src/modules/extra/m_sqlite3.cpp
+++ b/src/modules/extra/m_sqlite3.cpp
@@ -83,7 +83,7 @@ class SQLite3Result : public SQL::Result
result.assign(columns.begin(), columns.end());
}
- bool HasColumn(const std::string& column, size_t& index)
+ bool HasColumn(const std::string& column, size_t& index) CXX11_OVERRIDE
{
for (size_t i = 0; i < columns.size(); ++i)
{