Fix build without sodium

http://hydra.nixos.org/build/32085949
This commit is contained in:
Eelco Dolstra 2016-02-17 12:41:41 +01:00
parent c4d22997f3
commit b49d323ce2
2 changed files with 11 additions and 5 deletions

View file

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