Compiler error on gcc 3.4.1 corrected: cannot use SALOME_ListIO() where const SALOME_ListIO& argument expected

This commit is contained in:
smh 2005-06-09 04:48:24 +00:00
parent 65482a36f6
commit cca53b9163

View File

@ -793,7 +793,8 @@ namespace{
aStudyBuilder->CommitCommand();
/* Clear any previous selection */
aSel->setSelectedObjects( SALOME_ListIO() );
SALOME_ListIO l1;
aSel->setSelectedObjects( l1 );
SMESHGUI::GetSMESHGUI()->updateObjBrowser();
}
@ -1204,7 +1205,8 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
}
}
}
aSel->setSelectedObjects( SALOME_ListIO() );
SALOME_ListIO l1;
aSel->setSelectedObjects( l1 );
break;
}
@ -1937,7 +1939,8 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
Handle(SALOME_InteractiveObject) IObject = It.Value();
SMESH::RemoveHypothesisOrAlgorithmOnMesh(IObject);
}
aSel->setSelectedObjects( SALOME_ListIO() );
SALOME_ListIO l1;
aSel->setSelectedObjects( l1 );
updateObjBrowser();
break;
}