From cd5740e98f3b0e29abf0779935daafe209f3d98b Mon Sep 17 00:00:00 2001 From: blobfish Date: Thu, 19 Dec 2019 11:46:05 -0500 Subject: [PATCH] Plugins: OpenCasCade: Adding 'std' prefix where needed. See Following. Prior to 7.4, occt had a 'using namespace std' in a header file that was polluting dependent projects. They have since fixed it and so these changes are required. --- src/osgPlugins/OpenCASCADE/ReaderWriterOpenCASCADE.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/osgPlugins/OpenCASCADE/ReaderWriterOpenCASCADE.cpp b/src/osgPlugins/OpenCASCADE/ReaderWriterOpenCASCADE.cpp index 383ef31bd..bca1c0ecc 100644 --- a/src/osgPlugins/OpenCASCADE/ReaderWriterOpenCASCADE.cpp +++ b/src/osgPlugins/OpenCASCADE/ReaderWriterOpenCASCADE.cpp @@ -292,7 +292,7 @@ osg::ref_ptr ReaderWritterOpenCASCADE::OCCTKReader::igesToOSGGeode(c /// transfer data from reader to doc if(!reader.Transfer(doc)) { - cout << "Cannot read any relevant data from the STEP file" << endl; + std::cout << "Cannot read any relevant data from the STEP file" << std::endl; return NULL; } } @@ -309,7 +309,7 @@ osg::ref_ptr ReaderWritterOpenCASCADE::OCCTKReader::igesToOSGGeode(c /// transfer data from reader to doc if(!reader.Transfer(doc)) { - cout << "Cannot read any relevant data from the IGES file" << endl; + std::cout << "Cannot read any relevant data from the IGES file" << std::endl; return NULL; } } @@ -327,7 +327,7 @@ osg::ref_ptr ReaderWritterOpenCASCADE::OCCTKReader::igesToOSGGeode(c if(freeShapes.Length() == 0) { - std::cout << "No Shapes found" << endl; + std::cout << "No Shapes found" << std::endl; return NULL; } else