| 70 | } |
| 71 | |
| 72 | void DUChainItemSystem::copy(const DUChainBaseData& from, DUChainBaseData& to, bool constant) const |
| 73 | { |
| 74 | if (uint(m_factories.size()) <= from.classId || m_factories[from.classId] == nullptr) { |
| 75 | ENSURE_VALID_CLASSID(from.classId) |
| 76 | return; |
| 77 | } |
| 78 | m_factories[from.classId]->copy(from, to, constant); |
| 79 | } |
| 80 | |
| 81 | DUChainItemSystem& DUChainItemSystem::self() |
| 82 | { |
no test coverage detected