aboutsummaryrefslogtreecommitdiff
path: root/src/Stats.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/Stats.cxx
parentb3d76b7e5c46ff46139457b3aa910d92e290f38f (diff)
db_selection: rename to DatabaseSelection
Diffstat (limited to 'src/Stats.cxx')
-rw-r--r--src/Stats.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Stats.cxx b/src/Stats.cxx
index 07e62498..5b5008ce 100644
--- a/src/Stats.cxx
+++ b/src/Stats.cxx
@@ -22,7 +22,6 @@
extern "C" {
#include "stats.h"
#include "database.h"
-#include "db_selection.h"
#include "tag.h"
#include "song.h"
#include "client.h"
@@ -31,6 +30,7 @@ extern "C" {
#include "client_internal.h"
}
+#include "DatabaseSelection.hxx"
#include "DatabaseGlue.hxx"
#include "DatabasePlugin.hxx"
@@ -99,8 +99,7 @@ void stats_update(void)
stats.song_duration = 0;
stats.artist_count = 0;
- struct db_selection selection;
- db_selection_init(&selection, "", true);
+ const DatabaseSelection selection("", true);
StringSet artists, albums;
using namespace std::placeholders;