aboutsummaryrefslogtreecommitdiffstats
path: root/src/Partition.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-01 00:45:58 +0100
committerMax Kellermann <max@duempel.org>2014-02-01 00:45:58 +0100
commit8cf4fb53aa102380a8e734590aa6e82920e9632c (patch)
tree3bd1353dd2310cdb9472a284900e1ad0d0e08a3c /src/Partition.cxx
parent1769ae54e4d1cf33e7528147f1ddf2f031228bd9 (diff)
downloadmpd-8cf4fb53aa102380a8e734590aa6e82920e9632c.tar.gz
mpd-8cf4fb53aa102380a8e734590aa6e82920e9632c.tar.xz
mpd-8cf4fb53aa102380a8e734590aa6e82920e9632c.zip
Playlist: pass Database to DatabaseModified()
Don't use global variable.
Diffstat (limited to 'src/Partition.cxx')
-rw-r--r--src/Partition.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Partition.cxx b/src/Partition.cxx
index f12f931be..4d4504338 100644
--- a/src/Partition.cxx
+++ b/src/Partition.cxx
@@ -25,9 +25,9 @@
#ifdef ENABLE_DATABASE
void
-Partition::DatabaseModified()
+Partition::DatabaseModified(const Database &db)
{
- playlist.DatabaseModified();
+ playlist.DatabaseModified(db);
}
#endif