| 102 | } |
| 103 | |
| 104 | void InsertLine(FeatureID const & id, int scale, int vertexCount, int renderVertexCount) |
| 105 | { |
| 106 | TKey key(id, scale); |
| 107 | std::lock_guard g(m_mutex); |
| 108 | if (m_features.find(key) != m_features.end()) |
| 109 | return; |
| 110 | |
| 111 | TValue & v = m_features[key]; |
| 112 | v.m_readPoints = vertexCount; |
| 113 | v.m_neededPoints = renderVertexCount; |
| 114 | } |
| 115 | |
| 116 | private: |
| 117 | LinesStat() = default; |
no test coverage detected