From 237296b7e84a8bb270e3be06a690737a601d73e7 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 7 Jan 2020 03:37:23 +0100 Subject: Remote grid: add mechanism to re-open a grid if it has changed while being opened --- src/sqlite3.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/sqlite3.cpp') 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 #include #include // 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 -- cgit v1.2.3