From ff58207034e63e9f87402f7e3c78080638cb1e2f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 7 Aug 2012 23:06:41 +0200 Subject: db_selection: rename to DatabaseSelection --- src/Stats.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/Stats.cxx') diff --git a/src/Stats.cxx b/src/Stats.cxx index 07e62498b..5b5008cee 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; -- cgit v1.2.3