mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-03-01 15:35:40 +05:00
Fix pb with standard libraries
This commit is contained in:
parent
8767850063
commit
e774330f08
@ -66,7 +66,7 @@
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
TopoDS_Shape GEOM_Client::Load( GEOM::GEOM_Gen_ptr geom, GEOM::GEOM_Object_ptr aShape )
|
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();
|
Engines::Container_var ctn_server = geom->GetContainerRef();
|
||||||
long pid_server = ctn_server->getPID();
|
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();
|
int sizebuf = SeqFile->length();
|
||||||
char* buf;
|
char* buf;
|
||||||
buf = (char*) &SeqFile[0];
|
buf = (char*) &SeqFile[0];
|
||||||
istrstream streamBrep(buf,sizebuf);
|
std::istrstream streamBrep(buf,sizebuf);
|
||||||
BRep_Builder aBuilder;
|
BRep_Builder aBuilder;
|
||||||
BRepTools::Read(S, streamBrep, aBuilder);
|
BRepTools::Read(S, streamBrep, aBuilder);
|
||||||
return(S);
|
return(S);
|
||||||
|
Loading…
Reference in New Issue
Block a user