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 /src/DatabaseCommands.cxx | |
parent | b3d76b7e5c46ff46139457b3aa910d92e290f38f (diff) | |
download | mpd-ff58207034e63e9f87402f7e3c78080638cb1e2f.tar.gz mpd-ff58207034e63e9f87402f7e3c78080638cb1e2f.tar.xz mpd-ff58207034e63e9f87402f7e3c78080638cb1e2f.zip |
db_selection: rename to DatabaseSelection
Diffstat (limited to 'src/DatabaseCommands.cxx')
-rw-r--r-- | src/DatabaseCommands.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/DatabaseCommands.cxx b/src/DatabaseCommands.cxx index f2f9c4885..40ba88052 100644 --- a/src/DatabaseCommands.cxx +++ b/src/DatabaseCommands.cxx @@ -22,13 +22,13 @@ #include "DatabaseQueue.hxx" #include "DatabasePlaylist.hxx" #include "DatabasePrint.hxx" +#include "DatabaseSelection.hxx" #include "CommandError.h" #include "client_internal.h" #include "tag.h" #include "uri.h" extern "C" { -#include "db_selection.h" #include "locate.h" #include "protocol/result.h" } @@ -47,8 +47,7 @@ handle_lsinfo2(struct client *client, int argc, char *argv[]) /* default is root directory */ uri = ""; - struct db_selection selection; - db_selection_init(&selection, uri, false); + const DatabaseSelection selection(uri, false); GError *error = NULL; if (!db_selection_print(client, selection, true, &error)) |