File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/sofa/collisionAlgorithm/algorithm Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ class InsertionAlgorithm : public BaseAlgorithm
136136
137137 const bool isProjective = d_projective.getValue ();
138138 const SReal punctureForceThreshold = d_punctureForceThreshold.getValue ();
139- for (const auto & itTip : *l_tipGeom)
139+ for (auto & itTip : *l_tipGeom)
140140 {
141141 BaseProximity::SPtr tipProx = createTipProximity (itTip.element ());
142142 if (!tipProx) continue ;
@@ -181,7 +181,7 @@ class InsertionAlgorithm : public BaseAlgorithm
181181 auto createShaftProximity =
182182 Operations::CreateCenterProximity::Operation::get (l_shaftGeom->getTypeInfo ());
183183 auto projectOnShaft = Operations::Project::Operation::get (l_shaftGeom);
184- for (const auto & itShaft : *l_shaftGeom)
184+ for (auto & itShaft : *l_shaftGeom)
185185 {
186186 BaseProximity::SPtr shaftProx = createShaftProximity (itShaft.element ());
187187 if (!shaftProx) continue ;
You can’t perform that action at this time.
0 commit comments