| 32 | } |
| 33 | |
| 34 | static string serialize(const std::vector<ItemFilter> &item_filters, const std::set<std::string> &specials) { |
| 35 | std::ostringstream out; |
| 36 | out << serialize_item_filters(item_filters); |
| 37 | out << "|" << join_strings(",", specials); |
| 38 | return out.str(); |
| 39 | } |
| 40 | |
| 41 | DefaultItemFilters::DefaultItemFilters(color_ostream &out, BuildingTypeKey key, const std::vector<const df::job_item *> &jitems) |
| 42 | : key(key), choose_items(ItemSelectionChoice::ITEM_SELECTION_CHOICE_FILTER) { |
no test coverage detected