diff options
author | Max Kellermann <max@musicpd.org> | 2020-01-20 13:28:58 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-01-20 13:33:01 +0100 |
commit | 49309b419f47d7acd4ba3ab2c6d1923df875587f (patch) | |
tree | 13baf14af8ccc6359f89b6a161ea562c222ec2d9 /src/client | |
parent | 879bafb8375da2b413d68307c0bcfcd5edb27e69 (diff) |
Partition: add a local idle_monitor
Make idle events per-partition, but leave Instance::EmitIdle() and its
underlying idle_monitor which broadcasts idle events to all
partitions.
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/List.cxx | 9 | ||||
-rw-r--r-- | src/client/List.hxx | 2 |
2 files changed, 0 insertions, 11 deletions
diff --git a/src/client/List.cxx b/src/client/List.cxx index 64fcd4c47..bc1f60487 100644 --- a/src/client/List.cxx +++ b/src/client/List.cxx @@ -34,12 +34,3 @@ ClientList::Remove(Client &client) noexcept list.erase(list.iterator_to(client)); } - -void -ClientList::IdleAdd(unsigned flags) noexcept -{ - assert(flags != 0); - - for (auto &client : list) - client.IdleAdd(flags); -} diff --git a/src/client/List.hxx b/src/client/List.hxx index f62322d33..d82ec889f 100644 --- a/src/client/List.hxx +++ b/src/client/List.hxx @@ -56,8 +56,6 @@ public: } void Remove(Client &client) noexcept; - - void IdleAdd(unsigned flags) noexcept; }; #endif |