diff options
author | sfan5 <sfan5@live.de> | 2022-04-28 20:53:15 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-04-30 16:49:41 +0200 |
commit | a89afe1229e327da3c397a3912b2d43d2196ea2b (patch) | |
tree | 037748c56e51da62b884d7b83dec9ccf5958e06c /src/database | |
parent | faecff570c48350c599bcf043a7004a52ddf1b39 (diff) | |
download | minetest-a89afe1229e327da3c397a3912b2d43d2196ea2b.tar.gz minetest-a89afe1229e327da3c397a3912b2d43d2196ea2b.tar.bz2 minetest-a89afe1229e327da3c397a3912b2d43d2196ea2b.zip |
Deal with compiler warnings
Diffstat (limited to 'src/database')
-rw-r--r-- | src/database/database-postgresql.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/database/database-postgresql.h b/src/database/database-postgresql.h index 81b4a2b10..0a9ead01e 100644 --- a/src/database/database-postgresql.h +++ b/src/database/database-postgresql.h @@ -94,7 +94,8 @@ protected: checkResults(PQprepare(m_conn, name.c_str(), sql.c_str(), 0, NULL)); } - const int getPGVersion() const { return m_pgversion; } + int getPGVersion() const { return m_pgversion; } + private: // Database connectivity checks void ping(); |