Salome HOME
Restore usage of GenericObject wraper ( _wrap )
[modules/smesh.git] / src / SMESH_I / SMESH_Gen_i.cxx
index ac0b696007a2f4329b6ecf2b404d421475d5c3e9..fc87fc517867da8e6ac873d7f605f83045cc226c 100644 (file)
@@ -3296,7 +3296,7 @@ namespace // utils for CopyMeshWithGeom()
               {
                 int groupType = getShapeType( myNewMesh_i, newIndices[0] );
 
-                GEOM::GEOM_IGroupOperations_ptr grOp = geomGen->GetIGroupOperations();
+                GEOM::GEOM_IGroupOperations_wrap grOp = geomGen->GetIGroupOperations();
                 newShape = grOp->CreateGroup( mainShapeNew, groupType );
 
                 GEOM::ListOfLong_var  newIndicesList = new GEOM::ListOfLong();