From bbea71ce5f9b497560e2f67ceda085fce76afb0b Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 21 Aug 2019 19:22:01 +0200 Subject: [PATCH] add missing std:: namespace to build on Debian 10 --- src/Mod/Part/App/Geometry.cpp | 42 +++++++++++++++++------------------ 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/Mod/Part/App/Geometry.cpp b/src/Mod/Part/App/Geometry.cpp index 68d92d795c..40dcdb5d87 100644 --- a/src/Mod/Part/App/Geometry.cpp +++ b/src/Mod/Part/App/Geometry.cpp @@ -207,18 +207,18 @@ void Geometry::Save(Base::Writer &writer) const writer.incInd(); - writer.Stream() << writer.ind() << "" << endl; + writer.Stream() << writer.ind() << "" << std::endl; for(auto att:extensions) { att->Save(writer); } writer.decInd(); - writer.Stream() << writer.ind() << "" << endl; + writer.Stream() << writer.ind() << "" << std::endl; } const char c = Construction?'1':'0'; - writer.Stream() << writer.ind() << "" << endl; + writer.Stream() << writer.ind() << "" << std::endl; } void Geometry::Restore(Base::XMLReader &reader) @@ -454,7 +454,7 @@ void GeomPoint::Save(Base::Writer &writer) const << "X=\"" << Point.x << "\" Y=\"" << Point.y << "\" Z=\"" << Point.z << - "\"/>" << endl; + "\"/>" << std::endl; } void GeomPoint::Restore(Base::XMLReader &reader) @@ -924,7 +924,7 @@ void GeomBezierCurve::Save(Base::Writer& writer) const << writer.ind() << "" << endl; + "\">" << std::endl; writer.incInd(); @@ -939,11 +939,11 @@ void GeomBezierCurve::Save(Base::Writer& writer) const "\" Y=\"" << (*itp).y << "\" Z=\"" << (*itp).z << "\" Weight=\"" << (*itw) << - "\"/>" << endl; + "\"/>" << std::endl; } writer.decInd(); - writer.Stream() << writer.ind() << "" << endl ; + writer.Stream() << writer.ind() << "" << std::endl ; } void GeomBezierCurve::Restore(Base::XMLReader& reader) @@ -1401,7 +1401,7 @@ void GeomBSplineCurve::Save(Base::Writer& writer) const "\" KnotsCount=\"" << knots.size() << "\" Degree=\"" << degree << "\" IsPeriodic=\"" << (int) isperiodic << - "\">" << endl; + "\">" << std::endl; writer.incInd(); @@ -1416,7 +1416,7 @@ void GeomBSplineCurve::Save(Base::Writer& writer) const "\" Y=\"" << (*itp).y << "\" Z=\"" << (*itp).z << "\" Weight=\"" << (*itw) << - "\"/>" << endl; + "\"/>" << std::endl; } std::vector::const_iterator itk; @@ -1428,11 +1428,11 @@ void GeomBSplineCurve::Save(Base::Writer& writer) const << "" << endl; + "\"/>" << std::endl; } writer.decInd(); - writer.Stream() << writer.ind() << "" << endl ; + writer.Stream() << writer.ind() << "" << std::endl ; } void GeomBSplineCurve::Restore(Base::XMLReader& reader) @@ -2034,7 +2034,7 @@ void GeomCircle::Save(Base::Writer& writer) const "\" NormalZ=\"" << normal.Z() << "\" AngleXU=\"" << AngleXU << "\" Radius=\"" << this->myCurve->Radius() << - "\"/>" << endl; + "\"/>" << std::endl; } void GeomCircle::Restore(Base::XMLReader& reader) @@ -2263,7 +2263,7 @@ void GeomArcOfCircle::Save(Base::Writer &writer) const "\" Radius=\"" << circle->Radius() << "\" StartAngle=\"" << this->myCurve->FirstParameter() << "\" EndAngle=\"" << this->myCurve->LastParameter() << - "\"/>" << endl; + "\"/>" << std::endl; } void GeomArcOfCircle::Restore(Base::XMLReader &reader) @@ -2514,7 +2514,7 @@ void GeomEllipse::Save(Base::Writer& writer) const << "MajorRadius=\"" << this->myCurve->MajorRadius() << "\" " << "MinorRadius=\"" << this->myCurve->MinorRadius() << "\" " << "AngleXU=\"" << AngleXU << "\" " - << "/>" << endl; + << "/>" << std::endl; } void GeomEllipse::Restore(Base::XMLReader& reader) @@ -2784,7 +2784,7 @@ void GeomArcOfEllipse::Save(Base::Writer &writer) const << "AngleXU=\"" << AngleXU << "\" " << "StartAngle=\"" << this->myCurve->FirstParameter() << "\" " << "EndAngle=\"" << this->myCurve->LastParameter() << "\" " - << "/>" << endl; + << "/>" << std::endl; } void GeomArcOfEllipse::Restore(Base::XMLReader &reader) @@ -2957,7 +2957,7 @@ void GeomHyperbola::Save(Base::Writer& writer) const << "MajorRadius=\"" << this->myCurve->MajorRadius() << "\" " << "MinorRadius=\"" << this->myCurve->MinorRadius() << "\" " << "AngleXU=\"" << AngleXU << "\" " - << "/>" << endl; + << "/>" << std::endl; } void GeomHyperbola::Restore(Base::XMLReader& reader) @@ -3214,7 +3214,7 @@ void GeomArcOfHyperbola::Save(Base::Writer &writer) const << "AngleXU=\"" << AngleXU << "\" " << "StartAngle=\"" << this->myCurve->FirstParameter() << "\" " << "EndAngle=\"" << this->myCurve->LastParameter() << "\" " - << "/>" << endl; + << "/>" << std::endl; } void GeomArcOfHyperbola::Restore(Base::XMLReader &reader) @@ -3367,7 +3367,7 @@ void GeomParabola::Save(Base::Writer& writer) const << "NormalZ=\"" << normal.Z() << "\" " << "Focal=\"" << this->myCurve->Focal() << "\" " << "AngleXU=\"" << AngleXU << "\" " - << "/>" << endl; + << "/>" << std::endl; } void GeomParabola::Restore(Base::XMLReader& reader) @@ -3567,7 +3567,7 @@ void GeomArcOfParabola::Save(Base::Writer &writer) const << "AngleXU=\"" << AngleXU << "\" " << "StartAngle=\"" << this->myCurve->FirstParameter() << "\" " << "EndAngle=\"" << this->myCurve->LastParameter() << "\" " - << "/>" << endl; + << "/>" << std::endl; } void GeomArcOfParabola::Restore(Base::XMLReader &reader) @@ -3712,7 +3712,7 @@ void GeomLine::Save(Base::Writer &writer) const "\" DirX=\"" << Dir.x << "\" DirY=\"" << Dir.y << "\" DirZ=\"" << Dir.z << - "\"/>" << endl; + "\"/>" << std::endl; } void GeomLine::Restore(Base::XMLReader &reader) { @@ -3853,7 +3853,7 @@ void GeomLineSegment::Save (Base::Writer &writer) const "\" EndX=\"" << End.x << "\" EndY=\"" << End.y << "\" EndZ=\"" << End.z << - "\"/>" << endl; + "\"/>" << std::endl; } void GeomLineSegment::Restore (Base::XMLReader &reader)