db/simple: throw DatabaseError on error

This commit is contained in:
Max Kellermann
2016-02-28 11:19:28 +01:00
parent de938eb621
commit 5b8dce7456
3 changed files with 34 additions and 41 deletions

View File

@@ -97,7 +97,7 @@ public:
* success, this object gains ownership of the given #Database
*/
gcc_nonnull_all
bool Mount(const char *uri, Database *db, Error &error);
void Mount(const char *uri, Database *db);
gcc_nonnull_all
bool Mount(const char *local_uri, const char *storage_uri,