diff options
author | Max Kellermann <max@duempel.org> | 2016-03-18 22:17:46 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-03-19 00:05:11 +0100 |
commit | f55bdf07d38652ba1eeab4ba4016ed5c6267d692 (patch) | |
tree | 0f626d19a43094f19cd7b2b8f3ec1515ca9e6fb3 /src/db/Interface.hxx | |
parent | 6c2b532ae3c0987ca7f5ce9a6994617959cac20e (diff) |
db/Interface: Open() throws exception on error
Diffstat (limited to 'src/db/Interface.hxx')
-rw-r--r-- | src/db/Interface.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/db/Interface.hxx b/src/db/Interface.hxx index 852084280..e0c29395c 100644 --- a/src/db/Interface.hxx +++ b/src/db/Interface.hxx @@ -55,9 +55,10 @@ public: /** * Open the database. Read it into memory if applicable. + * + * Throws #DatabaseError or std::runtime_error on error. */ - virtual bool Open(gcc_unused Error &error) { - return true; + virtual void Open() { } /** |