From 6b66e86f400f15d027e7141b86100d016e7e9e3d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 25 Feb 2014 18:17:39 +0100 Subject: db/simple: move Create() up --- src/db/plugins/SimpleDatabasePlugin.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/db') 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 ¶m, + 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 ¶m, - Error &error); - virtual bool Open(Error &error) override; virtual void Close() override; -- cgit v1.2.3