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:
parent
023bfb8bbb
commit
cd5740e98f
@ -292,7 +292,7 @@ osg::ref_ptr<osg::Geode> 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<osg::Geode> 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<osg::Geode> ReaderWritterOpenCASCADE::OCCTKReader::igesToOSGGeode(c
|
||||
|
||||
if(freeShapes.Length() == 0)
|
||||
{
|
||||
std::cout << "No Shapes found" << endl;
|
||||
std::cout << "No Shapes found" << std::endl;
|
||||
return NULL;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user