add missing std:: namespace to build on Debian 10

This commit is contained in:
wmayer
2019-08-21 00:12:50 +02:00
parent aa344ffb39
commit 6795a28c99
2 changed files with 5 additions and 5 deletions

View File

@@ -180,12 +180,12 @@ class R4: public R3
{
friend std::ostream& operator <<(std::ostream& f, const R4 & P )
{ f << P.x << ' ' << P.y << ' ' << P.z << ' ' << P.omega; return f; }
friend istream& operator >>(istream& f, R4 & P)
friend std::istream& operator >>(std::istream& f, R4 & P)
{ f >> P.x >> P.y >> P.z >> P.omega ; return f; }
friend std::ostream& operator <<(std::ostream& f, const R4 * P )
{ f << P->x << ' ' << P->y << ' ' << P->z << ' ' << P->omega; return f; }
friend istream& operator >>(istream& f, R4 * P)
friend std::istream& operator >>(std::istream& f, R4 * P)
{ f >> P->x >> P->y >> P->z >> P->omega ; return f; }
public:

View File

@@ -279,10 +279,10 @@ static void BRepTools_Write(const TopoDS_Shape& Sh, Standard_OStream& S) {
SS.Write(S);
SS.Write(Sh,S);
}
static Standard_Boolean BRepTools_Write(const TopoDS_Shape& Sh,
const Standard_CString File)
static Standard_Boolean BRepTools_Write(const TopoDS_Shape& Sh, const Standard_CString File)
{
ofstream os;
std::ofstream os;
#if OCC_VERSION_HEX >= 0x060800
OSD_OpenStream(os, File, ios::out);
#else