From d9feb2512173ca56f1cd7f5ebc2b59a1149d0e2c Mon Sep 17 00:00:00 2001 From: Kurt Kremitzki Date: Tue, 28 Feb 2023 01:17:57 +0000 Subject: [PATCH] Fix break caused by hidden dependency on 3rd party library (OpenCASCADE) "using namespace std" Last-Updated: 2021-09-06 Gbp-Pq: Name opencascade74.patch --- src/Mod/Raytracing/App/RayFeature.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 "<