| 32 | } |
| 33 | |
| 34 | void TranslatorCollection::MergeInto(TranslatorCollection & other) const |
| 35 | { |
| 36 | auto & otherCollection = other.m_collection; |
| 37 | CHECK_EQUAL(m_collection.size(), otherCollection.size(), ()); |
| 38 | for (size_t i = 0; i < m_collection.size(); ++i) |
| 39 | otherCollection[i]->Merge(*m_collection[i]); |
| 40 | } |
| 41 | } // namespace generator |