aboutsummaryrefslogtreecommitdiff
path: root/src/sqlite3.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-01-07 03:37:23 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-01-07 12:29:35 +0100
commit237296b7e84a8bb270e3be06a690737a601d73e7 (patch)
tree456dc3e55e380c408be0f7a51e32422c650833f4 /src/sqlite3.cpp
parentfc73b2f2ca673b5121da921bebd96c073f7bc592 (diff)
downloadPROJ-237296b7e84a8bb270e3be06a690737a601d73e7.tar.gz
PROJ-237296b7e84a8bb270e3be06a690737a601d73e7.zip
Remote grid: add mechanism to re-open a grid if it has changed while being opened
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