client/Client: emit idle flags in SetPartition()

This commit is contained in:
Max Kellermann
2020-01-18 22:14:50 +01:00
parent 7732db0aee
commit ac126ede22
2 changed files with 21 additions and 5 deletions

View File

@@ -234,11 +234,7 @@ public:
return *partition;
}
void SetPartition(Partition &new_partition) noexcept {
partition = &new_partition;
// TODO: set various idle flags?
}
void SetPartition(Partition &new_partition) noexcept;
gcc_pure
Instance &GetInstance() noexcept;