From: vsr Date: Fri, 7 Mar 2008 13:56:10 +0000 (+0000) Subject: Fix pb with standard libraries X-Git-Tag: V5_0_0a1~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e774330f08d332ee9fe2da4b9a24a3523c98c3aa;p=modules%2Fgeom.git Fix pb with standard libraries --- diff --git a/src/GEOMClient/GEOM_Client.cxx b/src/GEOMClient/GEOM_Client.cxx index 3e8eb2058..dfc74bc5e 100644 --- a/src/GEOMClient/GEOM_Client.cxx +++ b/src/GEOMClient/GEOM_Client.cxx @@ -66,7 +66,7 @@ //======================================================================= TopoDS_Shape GEOM_Client::Load( GEOM::GEOM_Gen_ptr geom, GEOM::GEOM_Object_ptr aShape ) { - string hst_client = GetHostname(); + std::string hst_client = GetHostname(); Engines::Container_var ctn_server = geom->GetContainerRef(); long pid_server = ctn_server->getPID(); @@ -81,7 +81,7 @@ TopoDS_Shape GEOM_Client::Load( GEOM::GEOM_Gen_ptr geom, GEOM::GEOM_Object_ptr a int sizebuf = SeqFile->length(); char* buf; buf = (char*) &SeqFile[0]; - istrstream streamBrep(buf,sizebuf); + std::istrstream streamBrep(buf,sizebuf); BRep_Builder aBuilder; BRepTools::Read(S, streamBrep, aBuilder); return(S);