aboutsummaryrefslogtreecommitdiff
path: root/src/sqlite3.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-01-20 15:01:33 +0100
committerGitHub <noreply@github.com>2020-01-20 15:01:33 +0100
commita6390b59ae2bad2a763e7ab3341ee4c80e708b3d (patch)
tree26d5016def90e3e9f71a51da694ff3028e1006ed /src/sqlite3.cpp
parentf1209ff020cc9f5490f8e6c7edced6877f53da49 (diff)
parent90b6685a990b8c4931aafb508853401a89163e78 (diff)
downloadPROJ-a6390b59ae2bad2a763e7ab3341ee4c80e708b3d.tar.gz
PROJ-a6390b59ae2bad2a763e7ab3341ee4c80e708b3d.zip
Merge pull request #1826 from rouault/rfc4_code_review
[RFC4_dev] Address code review comments
Diffstat (limited to 'src/sqlite3.cpp')
-rw-r--r--src/sqlite3.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/sqlite3.cpp b/src/sqlite3.cpp
index 0c89c0b9..90e73c2a 100644
--- a/src/sqlite3.cpp
+++ b/src/sqlite3.cpp
@@ -25,8 +25,17 @@
* DEALINGS IN THE SOFTWARE.
*****************************************************************************/
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Weffc++"
+#endif
+
#include "sqlite3.hpp"
+#ifdef __GNUC__
+#pragma GCC diagnostic pop
+#endif
+
#include <cstdlib>
#include <cstring>
#include <sstream> // std::ostringstream
@@ -182,4 +191,4 @@ SQLiteStatement::SQLiteStatement(sqlite3_stmt *hStmtIn) : hStmt(hStmtIn) {}
// ---------------------------------------------------------------------------
-NS_PROJ_END \ No newline at end of file
+NS_PROJ_END