diff options
Diffstat (limited to 'src/db/plugins')
-rw-r--r-- | src/db/plugins/simple/SimpleDatabasePlugin.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/plugins/simple/SimpleDatabasePlugin.hxx b/src/db/plugins/simple/SimpleDatabasePlugin.hxx index 40d870460..9836a6bcf 100644 --- a/src/db/plugins/simple/SimpleDatabasePlugin.hxx +++ b/src/db/plugins/simple/SimpleDatabasePlugin.hxx @@ -58,10 +58,10 @@ public: Error &error); gcc_pure - Directory *GetRoot() { + Directory &GetRoot() { assert(root != NULL); - return root; + return *root; } bool Save(Error &error); |