Salome HOME
Compiler error on gcc 3.4.1 corrected: cannot use SALOME_ListIO() where const SALOME_... T3_0_0_a2
authorsmh <smh@opencascade.com>
Thu, 9 Jun 2005 04:48:24 +0000 (04:48 +0000)
committersmh <smh@opencascade.com>
Thu, 9 Jun 2005 04:48:24 +0000 (04:48 +0000)
src/SMESHGUI/SMESHGUI.cxx

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