| 120 | |
| 121 | template <typename BaseMap> |
| 122 | void NetElementMapWrapper<BaseMap>::initNetVersion(NetElementVersion const* version) { |
| 123 | m_netVersion = version; |
| 124 | |
| 125 | m_changeData.clear(); |
| 126 | m_changeDataLastVersion = 0; |
| 127 | |
| 128 | for (auto& change : Star::take(m_pendingChangeData)) |
| 129 | applyChange(std::move(change.second)); |
| 130 | |
| 131 | addChangeData(ClearChange()); |
| 132 | for (auto const& p : *this) |
| 133 | addChangeData(SetChange{p.first, p.second}); |
| 134 | } |
| 135 | |
| 136 | template <typename BaseMap> |
| 137 | void NetElementMapWrapper<BaseMap>::enableNetInterpolation(float) { |
nothing calls this directly
no test coverage detected