MCPcopy Create free account
hub / github.com/comaps/comaps / Remove

Method Remove

generator/feature_merger.cpp:154–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void FeatureMergeProcessor::Remove(Key key, MergedFeatureBuilder const * p)
155{
156 auto i = m_map.find(key);
157 if (i != m_map.end())
158 {
159 MergedFeatureBuilders & v = i->second;
160 v.erase(remove(v.begin(), v.end(), p), v.end());
161 if (v.empty())
162 m_map.erase(i);
163 }
164}
165
166void FeatureMergeProcessor::Remove(MergedFeatureBuilder const * p)
167{

Callers

nothing calls this directly

Calls 11

ASSERTFunction · 0.85
FirstPointMethod · 0.80
LastPointMethod · 0.80
IsRoundMethod · 0.80
ForEachMiddlePointsMethod · 0.80
GetKeyFunction · 0.70
findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45
beginMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected