From 5c6be24fd6035f7a030e76b8a369ef57b81893ca Mon Sep 17 00:00:00 2001 From: mpv Date: Tue, 19 Jun 2018 16:27:09 +0300 Subject: [PATCH] Fix for the Coding rules. --- src/GeomAlgoAPI/GeomAlgoAPI_Filling.cpp | 3 ++- src/ModelHighAPI/ModelHighAPI_Dumper.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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; } -- 2.39.2