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.
This commit is contained in:
blobfish 2019-12-19 11:46:05 -05:00 committed by Robert Osfield
parent 1968f3d6e1
commit a051916e6e

View File

@ -292,7 +292,7 @@ osg::ref_ptr<osg::Geode> ReaderWritterOpenCASCADE::OCCTKReader::igesToOSGGeode(c
/// transfer data from reader to doc /// transfer data from reader to doc
if(!reader.Transfer(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; return NULL;
} }
} }
@ -309,7 +309,7 @@ osg::ref_ptr<osg::Geode> ReaderWritterOpenCASCADE::OCCTKReader::igesToOSGGeode(c
/// transfer data from reader to doc /// transfer data from reader to doc
if(!reader.Transfer(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; return NULL;
} }
} }
@ -327,7 +327,7 @@ osg::ref_ptr<osg::Geode> ReaderWritterOpenCASCADE::OCCTKReader::igesToOSGGeode(c
if(freeShapes.Length() == 0) if(freeShapes.Length() == 0)
{ {
std::cout << "No Shapes found" << endl; std::cout << "No Shapes found" << std::endl;
return NULL; return NULL;
} }
else else