Salome HOME
Restore usage of GenericObject wraper ( _wrap )
[modules/smesh.git] / src / PluginUtils / GeomSelectionTools.cxx
index ddf87e5ea1ed15b60d650be463e37be81432c87e..936afcb31d97c7463304bbe1860a6c04ec81baa1 100644 (file)
@@ -213,7 +213,7 @@ TopAbs_ShapeEnum GeomSelectionTools::entryToShapeType(std::string entry){
         // if the Geom Object is a group
         if (aShape->GetType() == GEOM_GROUP){
 //           MESSAGE("It's a group");
-          GEOM::GEOM_IGroupOperations_ptr aGroupOp =
+          GEOM::GEOM_IGroupOperations_wrap aGroupOp =
             _geomEngine->GetIGroupOperations();
           ShapeType= (TopAbs_ShapeEnum)aGroupOp->GetType(aShape);
         }