parent
c4d22997f3
commit
b49d323ce2
2 changed files with 11 additions and 5 deletions
|
|
@ -40,10 +40,7 @@ MakeError(SQLiteError, Error);
|
|||
MakeError(SQLiteBusy, SQLiteError);
|
||||
|
||||
|
||||
static void throwSQLiteError(sqlite3 * db, const format & f)
|
||||
__attribute__ ((noreturn));
|
||||
|
||||
static void throwSQLiteError(sqlite3 * db, const format & f)
|
||||
[[noreturn]] static void throwSQLiteError(sqlite3 * db, const format & f)
|
||||
{
|
||||
int err = sqlite3_errcode(db);
|
||||
if (err == SQLITE_BUSY || err == SQLITE_PROTOCOL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue