Salome HOME
fight warnings, c++17. additional corrections++
[modules/smesh.git] / src / SMESH_I / SMESH_MeshEditor_i.cxx
index f20ffec66497868c4b59faa2d36637ef442d7b01..126da31cdcf23aac36b7c25d6b6e9944b6c6876f 100644 (file)
@@ -193,8 +193,8 @@ namespace MeshEditor_I {
     //!< Delete theNodeSearcher
     static void Delete()
     {
-      if ( theNodeSearcher )    delete theNodeSearcher;    theNodeSearcher    = 0;
-      if ( theElementSearcher ) delete theElementSearcher; theElementSearcher = 0;
+      if ( theNodeSearcher )    { delete theNodeSearcher; }    theNodeSearcher    = 0;
+      if ( theElementSearcher ) { delete theElementSearcher; } theElementSearcher = 0;
     }
     typedef map < int, SMESH_subMesh * > TDependsOnMap;
     //!< The meshod called by submesh: do my main job