From: nds Date: Thu, 9 Apr 2015 13:29:38 +0000 (+0300) Subject: Small correction. X-Git-Tag: V_1.1.0~52^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ed91b5918bc65fc3bb6a92a97d622364dd078933;p=modules%2Fshaper.git Small correction. --- diff --git a/src/SketchSolver/SketchSolver_ConstraintRigid.cpp b/src/SketchSolver/SketchSolver_ConstraintRigid.cpp index 39e6f93ee..956f4b727 100644 --- a/src/SketchSolver/SketchSolver_ConstraintRigid.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintRigid.cpp @@ -234,7 +234,7 @@ void SketchSolver_ConstraintRigid::fixArc(const Slvs_Entity& theArc) bool isExists = false; std::list aDiamConstraints = myStorage->getConstraintsByType(SLVS_C_DIAMETER); std::list::iterator anIt = aDiamConstraints.begin(); - for (; anIt != aDiamConstraints.end() && !isExists; anIt) + for (; anIt != aDiamConstraints.end() && !isExists; anIt++) if (anIt->entityA == myFeatureMap.begin()->second) isExists = true; if (!isExists) {