aboutsummaryrefslogtreecommitdiff
path: root/src/modules/extra/m_pgsql.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-04-04 23:42:15 +0100
committerGravatar Sadie Powell2021-04-04 23:42:15 +0100
commit7d84e4900fa8f4ef96e8cf4bb67b76be7902e840 (patch)
treef5a81d03f572392e7547d58f979fdd488de6ff0b /src/modules/extra/m_pgsql.cpp
parentRemove the unused ExitCodes array. (diff)
Fix a ton of pedantic compiler warnings.
Diffstat (limited to 'src/modules/extra/m_pgsql.cpp')
-rw-r--r--src/modules/extra/m_pgsql.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp
index 368e5e363..baa22b999 100644
--- a/src/modules/extra/m_pgsql.cpp
+++ b/src/modules/extra/m_pgsql.cpp
@@ -207,7 +207,7 @@ class SQLConn : public SQL::Provider, public EventHandler
return this->EventHandler::Cull();
}
- ~SQLConn()
+ ~SQLConn() override
{
SQL::Error err(SQL::BAD_DBID);
if (qinprog.c)
@@ -532,7 +532,7 @@ class ModulePgSQL : public Module
{
}
- ~ModulePgSQL()
+ ~ModulePgSQL() override
{
delete retimer;
ClearAllConnections();