From cca53b9163eee6588f78ba14dc33d3d36b60ad5a Mon Sep 17 00:00:00 2001 From: smh Date: Thu, 9 Jun 2005 04:48:24 +0000 Subject: [PATCH] Compiler error on gcc 3.4.1 corrected: cannot use SALOME_ListIO() where const SALOME_ListIO& argument expected --- src/SMESHGUI/SMESHGUI.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 4b63550e0..798a19a87 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -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; } -- 2.39.2