aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/db/plugins/SimpleDatabasePlugin.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/db/plugins/SimpleDatabasePlugin.hxx b/src/db/plugins/SimpleDatabasePlugin.hxx
index 83a8dc491..a92003ac1 100644
--- a/src/db/plugins/SimpleDatabasePlugin.hxx
+++ b/src/db/plugins/SimpleDatabasePlugin.hxx
@@ -53,6 +53,10 @@ class SimpleDatabase : public Database {
SimpleDatabase();
public:
+ static Database *Create(EventLoop &loop, DatabaseListener &listener,
+ const config_param &param,
+ Error &error);
+
gcc_pure
Directory *GetRoot() {
assert(root != NULL);
@@ -69,10 +73,6 @@ public:
return mtime > 0;
}
- static Database *Create(EventLoop &loop, DatabaseListener &listener,
- const config_param &param,
- Error &error);
-
virtual bool Open(Error &error) override;
virtual void Close() override;