| 31 | } |
| 32 | |
| 33 | inline void CollectionData::appendOne(Slot<VariantData> slot, |
| 34 | const ResourceManager* resources) { |
| 35 | if (tail_ != NULL_SLOT) { |
| 36 | auto tail = resources->getVariant(tail_); |
| 37 | tail->setNext(slot.id()); |
| 38 | tail_ = slot.id(); |
| 39 | } else { |
| 40 | head_ = slot.id(); |
| 41 | tail_ = slot.id(); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | inline void CollectionData::appendPair(Slot<VariantData> key, |
| 46 | Slot<VariantData> value, |
nothing calls this directly
no test coverage detected