Sqlite: Add noexcept to swap

Task-number: QDS-4289
Change-Id: I74bccb6117904773f400fbe37505de141f816895
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Marco Bubke
2021-05-03 10:11:15 +02:00
parent f764e4f0aa
commit a79adedb90

View File

@@ -154,7 +154,7 @@ public:
~ConstIterator();
friend void swap(ConstIterator &first, ConstIterator &second)
friend void swap(ConstIterator &first, ConstIterator &second) noexcept
{
std::swap(first.m_sessionIterator, second.m_sessionIterator);
std::swap(first.m_state, second.m_state);