]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix pb with standard libraries
authorvsr <vsr@opencascade.com>
Fri, 7 Mar 2008 13:56:10 +0000 (13:56 +0000)
committervsr <vsr@opencascade.com>
Fri, 7 Mar 2008 13:56:10 +0000 (13:56 +0000)
src/GEOMClient/GEOM_Client.cxx

index 3e8eb2058c0d164fe2b3d97b64240038852f1254..dfc74bc5e5c18a98ae8a2dd7264fef7f01c67d73 100644 (file)
@@ -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);