Sqlite: Suppress deprecation warning when using C++17

Change-Id: I90f452230cd7a2975674e3d17bd6c930914f90d5
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
hjk
2020-07-22 11:47:10 +02:00
parent 73f3056c3e
commit 004e5ad83d

View File

@@ -106,7 +106,7 @@ public:
if (m_rollback)
m_interface.sessionRollback();
} catch (...) {
if (!std::uncaught_exception())
if (!std::uncaught_exceptions())
throw;
}
}
@@ -134,7 +134,7 @@ public:
if (m_rollback)
m_interface.rollback();
} catch (...) {
if (!std::uncaught_exception())
if (!std::uncaught_exceptions())
throw;
}
}