From 1769ae54e4d1cf33e7528147f1ddf2f031228bd9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 1 Feb 2014 00:44:41 +0100 Subject: Partition: disable DatabaseModified() if not ENABLE_DATABASE --- src/Partition.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Partition.hxx') 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 -- cgit v1.2.3