lib/sqlite: add "noexcept"

This commit is contained in:
Max Kellermann
2017-11-12 18:26:03 +01:00
parent ff9759c09d
commit fb01e41e8a
2 changed files with 6 additions and 5 deletions

View File

@@ -29,8 +29,8 @@ class SqliteError final : public std::runtime_error {
int code;
public:
SqliteError(sqlite3 *db, int _code, const char *msg);
SqliteError(sqlite3_stmt *stmt, int _code, const char *msg);
SqliteError(sqlite3 *db, int _code, const char *msg) noexcept;
SqliteError(sqlite3_stmt *stmt, int _code, const char *msg) noexcept;
int GetCode() const {
return code;