From: mpv Date: Tue, 19 Jun 2018 13:27:09 +0000 (+0300) Subject: Fix for the Coding rules. X-Git-Tag: EDF_2018-1~32 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5c6be24fd6035f7a030e76b8a369ef57b81893ca;p=modules%2Fshaper.git Fix for the Coding rules. --- diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_Filling.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_Filling.cpp index f08f44a4f..3609b06ff 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_Filling.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_Filling.cpp @@ -102,7 +102,8 @@ void GeomAlgoAPI_Filling::buildByEdges() // check myMaxDegree >= aCurves.size() - 1 to be able to interpolate a surface if (myMaxDegree + 1 < aNbCurves) { - myError = "Unable to interpolate surface, Max deg + 1 should be greater or equal than number of sections."; + myError = "Unable to interpolate surface," + " Max deg + 1 should be greater or equal than number of sections."; return; } diff --git a/src/ModelHighAPI/ModelHighAPI_Dumper.cpp b/src/ModelHighAPI/ModelHighAPI_Dumper.cpp index 6e6a7090b..985e6761e 100644 --- a/src/ModelHighAPI/ModelHighAPI_Dumper.cpp +++ b/src/ModelHighAPI/ModelHighAPI_Dumper.cpp @@ -174,7 +174,8 @@ const std::string& ModelHighAPI_Dumper::name(const EntityPtr& theEntity, int aFullIndex = 0; NbFeaturesMap::const_iterator aFIt = myFeatureCount.begin(); for (; aFIt != myFeatureCount.end(); ++aFIt) { - std::map >::const_iterator aFound = aFIt->second.find(aKind); + std::map >::const_iterator aFound = + aFIt->second.find(aKind); if (aFound != aFIt->second.end()) aFullIndex += aFound->second.first; }