Salome HOME
Get rid of compilation warnings. Part I.
[modules/shaper.git] / src / GeomValidators / GeomValidators_ShapeType.cpp
index 61e1a048bacf3a11d6530c1c839cc9b0c1eeda23..5b5fd026a674ebe4054bd91d782ad23d990eaab6 100644 (file)
@@ -81,11 +81,11 @@ std::string getShapeTypeDescription(const GeomValidators_ShapeType::TypeOfShape&
   if (MyShapeTypes.size() != 0) {
     std::map<std::string, GeomValidators_ShapeType::TypeOfShape>::const_iterator
       anIt = MyShapeTypes.begin(), aLast = MyShapeTypes.end();
-    for (; anIt != aLast; anIt++) {
-      if (anIt->second == theType)
+    for (; anIt != aLast; anIt++)
+      if (anIt->second == theType) {
         aValue = anIt->first;
         break;
-    }
+      }
   }
   return aValue;
 }