From a42f9e4ee30bf0d4a09dc5baa5aa9ba9da022988 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 22 Jan 2014 22:40:42 +0100 Subject: LightDirectory: new struct replacing Directory in the DB API --- src/db/SimpleDatabasePlugin.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/db/SimpleDatabasePlugin.cxx') diff --git a/src/db/SimpleDatabasePlugin.cxx b/src/db/SimpleDatabasePlugin.cxx index 3d947c042..f77d98ea5 100644 --- a/src/db/SimpleDatabasePlugin.cxx +++ b/src/db/SimpleDatabasePlugin.cxx @@ -21,6 +21,7 @@ #include "SimpleDatabasePlugin.hxx" #include "DatabaseSelection.hxx" #include "DatabaseHelpers.hxx" +#include "LightDirectory.hxx" #include "Directory.hxx" #include "Song.hxx" #include "SongFilter.hxx" @@ -265,7 +266,7 @@ SimpleDatabase::Visit(const DatabaseSelection &selection, } if (selection.recursive && visit_directory && - !visit_directory(*directory, error)) + !visit_directory(directory->Export(), error)) return false; return directory->Walk(selection.recursive, selection.filter, -- cgit v1.2.3