diff --git a/include/SQLiteCpp/Database.h b/include/SQLiteCpp/Database.h index b7d87bd..60781ec 100644 --- a/include/SQLiteCpp/Database.h +++ b/include/SQLiteCpp/Database.h @@ -142,7 +142,7 @@ public: * * @throw SQLite::Exception in case of error */ - void setBusyTimeout(const int aBusyTimeoutMs) noexcept; // nothrow + void setBusyTimeout(const int aBusyTimeoutMs); /** * @brief Shortcut to execute one or multiple statements without results. diff --git a/src/Database.cpp b/src/Database.cpp index 164f3e3..4ac1bd9 100644 --- a/src/Database.cpp +++ b/src/Database.cpp @@ -117,7 +117,7 @@ Database::~Database() noexcept // nothrow * * @throw SQLite::Exception in case of error */ -void Database::setBusyTimeout(const int aBusyTimeoutMs) noexcept // nothrow +void Database::setBusyTimeout(const int aBusyTimeoutMs) { const int ret = sqlite3_busy_timeout(mpSQLite, aBusyTimeoutMs); check(ret);