From e420eca2b244c303af51534ab09632045a186b21 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Thu, 3 Oct 2024 08:07:05 -0500 Subject: Cleanup from clang-tidy. --- source/fud_sqlite.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/fud_sqlite.cpp') diff --git a/source/fud_sqlite.cpp b/source/fud_sqlite.cpp index e07523d..3e39474 100644 --- a/source/fud_sqlite.cpp +++ b/source/fud_sqlite.cpp @@ -31,7 +31,7 @@ SqliteDb::SqliteDb(const char* name, SqliteOpenMode mode, int extraFlags) : initialize(); } -SqliteDb::SqliteDb(SqliteDb&& rhs) : +SqliteDb::SqliteDb(SqliteDb&& rhs) noexcept : m_name{std::move(rhs.m_name)}, m_nameValid{rhs.m_nameValid}, m_dbHandle{rhs.m_dbHandle}, m_errorCode{rhs.m_errorCode}, m_mode{rhs.m_mode}, m_extraFlags{rhs.m_extraFlags} { @@ -47,7 +47,7 @@ SqliteDb::~SqliteDb() } } -SqliteDb& SqliteDb::operator=(SqliteDb&& rhs) +SqliteDb& SqliteDb::operator=(SqliteDb&& rhs) noexcept { if (m_dbHandle != nullptr) { sqlite3_close(m_dbHandle); @@ -164,7 +164,7 @@ SqliteStatement::SqliteStatement(const SqliteDb& sqliteDb, const String& input) } } -SqliteStatement::SqliteStatement(SqliteStatement&& rhs) : +SqliteStatement::SqliteStatement(SqliteStatement&& rhs) noexcept : m_input{std::move(rhs.m_input)}, m_tail{rhs.m_tail}, m_status{rhs.m_status}, m_errorCode{rhs.m_errorCode}, m_preparedStatement{rhs.m_preparedStatement} { -- cgit v1.2.3