Merge pull request #137 from fekir/remove_noexcept

Remove noexcept
This commit is contained in:
Sébastien Rombauts 2017-08-21 11:12:16 +02:00 committed by GitHub
commit 926ebdab8f
4 changed files with 4 additions and 4 deletions

View File

@ -111,7 +111,7 @@ public:
* *
* Note this correctly handles strings that contain null bytes. * Note this correctly handles strings that contain null bytes.
*/ */
std::string getString() const noexcept; // nothrow std::string getString() const;
/** /**
* @brief Return the type of the value of the column * @brief Return the type of the value of the column

View File

@ -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.

View File

@ -90,7 +90,7 @@ const void* Column::getBlob() const noexcept // nothrow
} }
// Return a std::string to a TEXT or BLOB column // Return a std::string to a TEXT or BLOB column
std::string Column::getString() const noexcept // nothrow std::string Column::getString() const
{ {
// Note: using sqlite3_column_blob and not sqlite3_column_text // Note: using sqlite3_column_blob and not sqlite3_column_text
// - no need for sqlite3_column_text to add a \0 on the end, as we're getting the bytes length directly // - no need for sqlite3_column_text to add a \0 on the end, as we're getting the bytes length directly

View File

@ -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);