From: Kurt Kremitzki Date: Tue, 28 Feb 2023 01:17:57 +0000 (+0000) Subject: Fix break caused by hidden dependency on 3rd party library (OpenCASCADE) "using names... X-Git-Tag: archive/raspbian/0.21.2+dfsg1-3+rpi1~16 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d9feb2512173ca56f1cd7f5ebc2b59a1149d0e2c;p=freecad.git Fix break caused by hidden dependency on 3rd party library (OpenCASCADE) "using namespace std" Last-Updated: 2021-09-06 Gbp-Pq: Name opencascade74.patch --- diff --git a/src/Mod/Raytracing/App/RayFeature.cpp b/src/Mod/Raytracing/App/RayFeature.cpp index 4303216f..dc77c6f6 100644 --- a/src/Mod/Raytracing/App/RayFeature.cpp +++ b/src/Mod/Raytracing/App/RayFeature.cpp @@ -82,19 +82,19 @@ App::DocumentObjectExecReturn *RayFeature::execute(void) // This must not be done in PovTools::writeShape! long t = Transparency.getValue(); const App::Color& c = Color.getValue(); - result << "// instance to render" << endl - << "object {" << Name << endl - << " texture {" << endl; + result << "// instance to render" << std::endl + << "object {" << Name << std::endl + << " texture {" << std::endl; if (t == 0) { - result << " pigment {color rgb <"<}" << endl; + result << " pigment {color rgb <"<}" << std::endl; } else { float trans = t/100.0f; - result << " pigment {color rgb <"< transmit "< transmit "<