db/simple: refactor Check() to throw exception

This commit is contained in:
Max Kellermann
2016-03-18 22:21:09 +01:00
parent 2ccd1cc9f0
commit 6fd7d8191e
2 changed files with 23 additions and 36 deletions

View File

@@ -136,7 +136,7 @@ public:
private:
bool Configure(const ConfigBlock &block, Error &error);
bool Check(Error &error) const;
void Check() const;
bool Load(Error &error);