Fix break caused by hidden dependency on 3rd party library (OpenCASCADE) "using names...
authorKurt Kremitzki <kkremitzki@debian.org>
Sat, 4 Feb 2023 13:01:18 +0000 (14:01 +0100)
committerTobias Frost <tobi@debian.org>
Sat, 4 Feb 2023 13:01:18 +0000 (14:01 +0100)
Last-Updated: 2021-09-06

Gbp-Pq: Name opencascade74.patch

src/Mod/Raytracing/App/RayFeature.cpp

index 4303216f537ebc662ff87873777c1d6ba9c0ba35..dc77c6f6a3d95a4da14ab779e4a017ddb6b0e16c 100644 (file)
@@ -82,19 +82,19 @@ App::DocumentObjectExecReturn *RayFeature::execute(void)
     // This must not be done in PovTools::writeShape!\r
     long t = Transparency.getValue();\r
     const App::Color& c = Color.getValue();\r
-    result << "// instance to render" << endl\r
-           << "object {" << Name << endl\r
-           << " texture {" << endl;\r
+    result << "// instance to render" << std::endl\r
+           << "object {" << Name << std::endl\r
+           << " texture {" << std::endl;\r
     if (t == 0) {\r
-        result << "      pigment {color rgb <"<<c.r<<","<<c.g<<","<<c.b<<">}" << endl;\r
+        result << "      pigment {color rgb <"<<c.r<<","<<c.g<<","<<c.b<<">}" << std::endl;\r
     }\r
     else {\r
         float trans = t/100.0f;\r
-        result << "      pigment {color rgb <"<<c.r<<","<<c.g<<","<<c.b<<"> transmit "<<trans<<"}" << endl;\r
+        result << "      pigment {color rgb <"<<c.r<<","<<c.g<<","<<c.b<<"> transmit "<<trans<<"}" << std::endl;\r
     }\r
-    result << "      finish {StdFinish } //definition on top of the project" << endl\r
-           << "  }" << endl\r
-           << "}" << endl   ;\r
+    result << "      finish {StdFinish } //definition on top of the project" << std::endl\r
+           << "  }" << std::endl\r
+           << "}" << std::endl   ;\r
 \r
     // Apply the resulting fragment\r
     Result.setValue(result.str().c_str());\r