]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESH_I/SMESH_Algo_i.cxx
Salome HOME
Update page for correct example reference.
[modules/smesh.git] / src / SMESH_I / SMESH_Algo_i.cxx
index 17995f4b7ddd5a1090987e424e963551b2913aa9..a0e8b9aa0fe0dff8a93753ea1dd4acf0ba60066b 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
@@ -79,7 +79,7 @@ SMESH::ListOfHypothesisName* SMESH_Algo_i::GetCompatibleHypothesis()
   int nbHyp = hypList.size();
   listOfHypothesis->length( nbHyp );
   for ( int i = 0; i < nbHyp; i++ ) {
-    listOfHypothesis[ i ] = strdup( hypList[ i ].c_str() );
+    listOfHypothesis[ i ] = CORBA::string_dup( hypList[ i ].c_str() );
   }
   return listOfHypothesis._retn();
 }