Skip to content

Commit

Permalink
add missing std:: namespace to build on Debian 10
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Aug 20, 2019
1 parent b4fc354 commit 851e3d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/3rdParty/salomesmesh/inc/Rn.h
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions src/Mod/Part/App/PropertyTopoShape.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 851e3d9

Please sign in to comment.