aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabaseSelection.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-29 19:27:03 +0200
committerMax Kellermann <max@duempel.org>2012-08-29 20:19:02 +0200
commit333d226ed0044cf6a6387e03805be2d7f6dac6f2 (patch)
tree7acb6fc795fcd2bb8aa75c16172de1ff7a761e8f /src/DatabaseSelection.cxx
parent04a9dec9525a58d077da71a84655cb45b7838520 (diff)
downloadmpd-333d226ed0044cf6a6387e03805be2d7f6dac6f2.tar.gz
mpd-333d226ed0044cf6a6387e03805be2d7f6dac6f2.tar.xz
mpd-333d226ed0044cf6a6387e03805be2d7f6dac6f2.zip
SongFilter: convert to a C++ class
Diffstat (limited to 'src/DatabaseSelection.cxx')
-rw-r--r--src/DatabaseSelection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DatabaseSelection.cxx b/src/DatabaseSelection.cxx
index 72c3f9196..bd756f5f9 100644
--- a/src/DatabaseSelection.cxx
+++ b/src/DatabaseSelection.cxx
@@ -23,5 +23,5 @@
bool
DatabaseSelection::Match(const song &song) const
{
- return match == nullptr || locate_list_song_match(&song, match);
+ return filter == nullptr || filter->Match(song);
}