mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-04 09:46:02 -04:00
Remove noexcept from setBusyTimeout since it may throw (it is also documented)
This commit is contained in:
parent
697929cfbe
commit
db156e6282
@ -142,7 +142,7 @@ public:
|
|||||||
*
|
*
|
||||||
* @throw SQLite::Exception in case of error
|
* @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.
|
* @brief Shortcut to execute one or multiple statements without results.
|
||||||
|
@ -117,7 +117,7 @@ Database::~Database() noexcept // nothrow
|
|||||||
*
|
*
|
||||||
* @throw SQLite::Exception in case of error
|
* @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);
|
const int ret = sqlite3_busy_timeout(mpSQLite, aBusyTimeoutMs);
|
||||||
check(ret);
|
check(ret);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user