aboutsummaryrefslogtreecommitdiffstats
path: root/test/DumpDatabase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/DumpDatabase.cxx')
-rw-r--r--test/DumpDatabase.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/DumpDatabase.cxx b/test/DumpDatabase.cxx
index 2e629172a..b0a9c933c 100644
--- a/test/DumpDatabase.cxx
+++ b/test/DumpDatabase.cxx
@@ -20,7 +20,7 @@
#include "config.h"
#include "DatabaseRegistry.hxx"
#include "DatabasePlugin.hxx"
-#include "db_selection.h"
+#include "DatabaseSelection.hxx"
#include "directory.h"
#include "song.h"
#include "playlist_vector.h"
@@ -130,8 +130,7 @@ main(int argc, char **argv)
return EXIT_FAILURE;
}
- db_selection selection;
- db_selection_init(&selection, "", true);
+ const DatabaseSelection selection("", true);
if (!db->Visit(selection, DumpDirectory, DumpSong, DumpPlaylist,
&error)) {