diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-17T11·41+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-17T11·42+0100 |
commit | b49d323ce2d8491cfe11d6941b1f048012eed23e (patch) | |
tree | d701907dbcdf679e1e9f32ed25c72bee2e72d9eb /src/libstore/local-store.cc | |
parent | c4d22997f364a7fc2e5a8150c0a4a55590a92df5 (diff) |
Fix build without sodium
http://hydra.nixos.org/build/32085949
Diffstat (limited to 'src/libstore/local-store.cc')
-rw-r--r-- | src/libstore/local-store.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index b2908877ce34..308aebd73bb4 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -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) { |