diff options
author | Max Kellermann <max@duempel.org> | 2014-02-01 00:44:41 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-01 00:44:41 +0100 |
commit | 1769ae54e4d1cf33e7528147f1ddf2f031228bd9 (patch) | |
tree | 02a836e614cc6ebf48a78473bbef76c6641b54db /src/Partition.hxx | |
parent | e54567926588b831c10a2f456f30a10943e64658 (diff) | |
download | mpd-1769ae54e4d1cf33e7528147f1ddf2f031228bd9.tar.gz mpd-1769ae54e4d1cf33e7528147f1ddf2f031228bd9.tar.xz mpd-1769ae54e4d1cf33e7528147f1ddf2f031228bd9.zip |
Partition: disable DatabaseModified() if not ENABLE_DATABASE
Diffstat (limited to 'src/Partition.hxx')
-rw-r--r-- | src/Partition.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Partition.hxx b/src/Partition.hxx index 5e2469504..1faf7c9a2 100644 --- a/src/Partition.hxx +++ b/src/Partition.hxx @@ -173,11 +173,13 @@ struct Partition { playlist.SetConsume(new_value); } +#ifdef ENABLE_DATABASE /** * The database has been modified. Propagate the change to * all subsystems. */ void DatabaseModified(); +#endif /** * A tag in the play queue has been modified by the player |