]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_pgsql.cpp
Add the override keyword in places that it is missing.
[user/henk/code/inspircd.git] / src / modules / extra / m_pgsql.cpp
index 09aba7de9fef96af570b3bd8ab6903a7d85d3274..7aaf96a67fea99ee6980f68ff91f9112c821c121 100644 (file)
@@ -65,7 +65,7 @@ class ReconnectTimer : public Timer
        ReconnectTimer(ModulePgSQL* m) : Timer(5, false), mod(m)
        {
        }
-       bool Tick(time_t TIME);
+       bool Tick(time_t TIME) CXX11_OVERRIDE;
 };
 
 struct QueueItem
@@ -100,12 +100,12 @@ class PgSQLresult : public SQLResult
                PQclear(res);
        }
 
-       int Rows()
+       int Rows() CXX11_OVERRIDE
        {
                return rows;
        }
 
-       void GetCols(std::vector<std::string>& result)
+       void GetCols(std::vector<std::string>& result) CXX11_OVERRIDE
        {
                result.resize(PQnfields(res));
                for(unsigned int i=0; i < result.size(); i++)
@@ -123,7 +123,7 @@ class PgSQLresult : public SQLResult
                return SQLEntry(std::string(v, PQgetlength(res, row, column)));
        }
 
-       bool GetRow(SQLEntries& result)
+       bool GetRow(SQLEntries& result) CXX11_OVERRIDE
        {
                if (currentrow >= PQntuples(res))
                        return false;