diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-10-03 08:07:05 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-10-03 08:07:05 -0500 |
commit | e420eca2b244c303af51534ab09632045a186b21 (patch) | |
tree | ba4ec2d6863b716672f35898266516b58c727aa9 /source/fud_sqlite.cpp | |
parent | 97bbafb762defc01abc38834b70a7e8f20d654f5 (diff) |
Cleanup from clang-tidy.
Diffstat (limited to 'source/fud_sqlite.cpp')
-rw-r--r-- | source/fud_sqlite.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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} { |