forked from qt-creator/qt-creator
Sqlite: Suppress deprecation warning when using C++17
Change-Id: I90f452230cd7a2975674e3d17bd6c930914f90d5 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user