Salome HOME
Fix for bug PAL19432 (Qt4 porting: Application crash at Add button push (Set Filters...
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_ShapeByMeshDlg.cxx
index ba45e57351e91d82b53a7f118bebabdab524a74f..2f87dfd75b1017dbea0aeeaa6bdce9aa5e8be9da 100644 (file)
@@ -239,13 +239,13 @@ void SMESHGUI_ShapeByMeshOp::SetMesh (SMESH::SMESH_Mesh_ptr thePtr)
   myGeomObj = GEOM::GEOM_Object::_nil();
   myHasSolids = false;
 
-  vector< bool > hasElement (myDlg->myElemTypeGroup->buttons().count(), false);
+  std::vector< bool > hasElement (myDlg->myElemTypeGroup->buttons().count(), false);
   if (!myMesh->_is_nil() )
     {
       //     _PTR(SObject) aSobj = SMESH::FindSObject(myMesh.in());
       //     SUIT_DataOwnerPtr anIObj (new LightApp_DataOwner(aSobj->GetID().c_str()));
 
-      vector< int > nbShapes( TopAbs_SHAPE, 0 );
+      std::vector< int > nbShapes( TopAbs_SHAPE, 0 );
       int shapeDim = 0; // max dim with several shapes
       //if ( /*mySelectionMgr*/ selectionMgr()->isOk(anIObj) ) // check that the mesh has a valid shape
       {