From efa7eecc97a34ec98a54246d4572fcf31778e535 Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 3 Sep 2019 12:25:16 +0300 Subject: [PATCH] Porting to new OCCT version --- src/BlockFix/BlockFix_CheckTool.cxx | 20 ++++++++++---------- src/GEOM/GEOM_Engine.cxx | 1 + src/GEOM_I/GEOM_BaseObject_i.cc | 20 ++++++++++---------- 3 files changed, 21 insertions(+), 20 deletions(-) diff --git a/src/BlockFix/BlockFix_CheckTool.cxx b/src/BlockFix/BlockFix_CheckTool.cxx index 1bb80e425..85c316fae 100644 --- a/src/BlockFix/BlockFix_CheckTool.cxx +++ b/src/BlockFix/BlockFix_CheckTool.cxx @@ -277,18 +277,18 @@ TopoDS_Shape BlockFix_CheckTool::PossibleBlock(const Standard_Integer num) const void BlockFix_CheckTool::DumpCheckResult(Standard_OStream& S) const { if(!myHasCheck) - S<<"Check not performed!"<())).name() << "::GetCreationInformation() " << endl - << " for the case of operation which has created '" << GetName() << "' object" << endl - << "PLEEEEEEEASE" << endl - << "\tPLEEEEEEEASE" << endl - << "\t\tPLEEEEEEEASE" << endl - << "\t\t\tPLEEEEEEEASE" << endl - << "\t\t\t\tPLEEEEEEEASE" << endl; + std::cout << std::endl << std::endl << std::endl << "Warning: " << std::endl << "Dear developer!!!" << std::endl + << " Consider implementing " + << typeid(*(driver.operator->())).name() << "::GetCreationInformation() " << std::endl + << " for the case of operation which has created '" << GetName() << "' object" << std::endl + << "PLEEEEEEEASE" << std::endl + << "\tPLEEEEEEEASE" << std::endl + << "\t\tPLEEEEEEEASE" << std::endl + << "\t\t\tPLEEEEEEEASE" << std::endl + << "\t\t\t\tPLEEEEEEEASE" << std::endl; } #endif } catch(...) { #ifdef _DEBUG_ - cout << "Ecxeption in GEOM_BaseObject_i::GetCreationInformation()" << endl; + std::cout << "Ecxeption in GEOM_BaseObject_i::GetCreationInformation()" << std::endl; #endif } } -- 2.39.2