diff options
author | Max Kellermann <max@duempel.org> | 2012-08-07 23:06:41 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-08-07 23:12:26 +0200 |
commit | ff58207034e63e9f87402f7e3c78080638cb1e2f (patch) | |
tree | 9e2bc30c2b6ae4691f5cc52645b1ebadb31ea669 /test/DumpDatabase.cxx | |
parent | b3d76b7e5c46ff46139457b3aa910d92e290f38f (diff) | |
download | mpd-ff58207034e63e9f87402f7e3c78080638cb1e2f.tar.gz mpd-ff58207034e63e9f87402f7e3c78080638cb1e2f.tar.xz mpd-ff58207034e63e9f87402f7e3c78080638cb1e2f.zip |
db_selection: rename to DatabaseSelection
Diffstat (limited to 'test/DumpDatabase.cxx')
-rw-r--r-- | test/DumpDatabase.cxx | 5 |
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)) { |