aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabaseCommands.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-07 23:06:41 +0200
committerMax Kellermann <max@duempel.org>2012-08-07 23:12:26 +0200
commitff58207034e63e9f87402f7e3c78080638cb1e2f (patch)
tree9e2bc30c2b6ae4691f5cc52645b1ebadb31ea669 /src/DatabaseCommands.cxx
parentb3d76b7e5c46ff46139457b3aa910d92e290f38f (diff)
downloadmpd-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.cxx5
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))