| 159 | } |
| 160 | |
| 161 | ProblemData::ClientGroup::ClientGroup(std::vector<size_t> clients, |
| 162 | bool required, |
| 163 | std::string name) |
| 164 | : required(required), name(duplicate(name.data())) |
| 165 | { |
| 166 | for (auto const client : clients) |
| 167 | addClient(client); |
| 168 | } |
| 169 | |
| 170 | ProblemData::ClientGroup::ClientGroup(ClientGroup const &group) |
| 171 | : clients_(group.clients_), |