diff options
author | Max Kellermann <max@duempel.org> | 2016-03-10 23:12:03 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-03-10 23:12:03 +0100 |
commit | bd40c8649c036016c97e8e6ae053cdf52cdad1fb (patch) | |
tree | 2fe1155edf484fd5ea007f824580c4bd52526941 /src/Partition.cxx | |
parent | 7c53df2ed1c661ac29e45808c38404b49401addd (diff) |
Partition: use Instance::EmitIdle()
Diffstat (limited to 'src/Partition.cxx')
-rw-r--r-- | src/Partition.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Partition.cxx b/src/Partition.cxx index 2bff11e23..eb511ee7e 100644 --- a/src/Partition.cxx +++ b/src/Partition.cxx @@ -22,7 +22,7 @@ #include "Instance.hxx" #include "DetachedSong.hxx" #include "mixer/Volume.hxx" -#include "Idle.hxx" +#include "IdleFlags.hxx" Partition::Partition(Instance &_instance, unsigned max_length, @@ -39,7 +39,7 @@ Partition::Partition(Instance &_instance, void Partition::EmitIdle(unsigned mask) { - idle_add(mask); + instance.EmitIdle(mask); } #ifdef ENABLE_DATABASE |