From: nds Date: Fri, 4 Sep 2015 11:36:32 +0000 (+0300) Subject: Compillation correction X-Git-Tag: V_1.4.0_beta4~120 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fa6f8883f102206160b8869aa3cb6c308beb9d6d;p=modules%2Fshaper.git Compillation correction --- diff --git a/src/GeomValidators/GeomValidators_Different.cpp b/src/GeomValidators/GeomValidators_Different.cpp index 45de46f7d..353df10b8 100644 --- a/src/GeomValidators/GeomValidators_Different.cpp +++ b/src/GeomValidators/GeomValidators_Different.cpp @@ -72,7 +72,7 @@ bool GeomValidators_Different::isValid(const std::shared_ptr& std::list::const_iterator aFindIt = std::find_if(aNextIt, anAttributes.end(), IsEqual(*anAttributeIt)); if (aFindIt != anAttributes.end()) { - theError = "Attributes " + anAttributeIt->id() + " and " + aFindIt->id() + " are equal." ; + theError = "Attributes " + (*anAttributeIt)->id() + " and " + (*aFindIt)->id() + " are equal." ; return false; } ++anAttributeIt; diff --git a/src/GeomValidators/GeomValidators_Face.cpp b/src/GeomValidators/GeomValidators_Face.cpp index be0d9270e..a9fb025ae 100644 --- a/src/GeomValidators/GeomValidators_Face.cpp +++ b/src/GeomValidators/GeomValidators_Face.cpp @@ -66,20 +66,20 @@ bool GeomValidators_Face::isValid(const AttributePtr& theAttribute, case GeomAbs_Plane: aValid = aGeomFace->isPlanar(); if (!aValid) - theError = "The shape is not a plane." + theError = "The shape is not a plane."; break; case GeomAbs_Cylinder: aValid = aGeomFace->isCylindrical(); if (!aValid) - theError = "The shape is not a cylinder." + theError = "The shape is not a cylinder."; break; default: - theError = "The shape is not an available face." + theError = "The shape is not an available face."; break; } } } else - theError = "The shape is not a face." + theError = "The shape is not a face."; } else aValid = true; // an empty face selected is valid.