1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0031501: Foundation Classes, Message_Printer - remove theToPutEndl argument -- preparation

Operators << for Handle(Message_Messenger) are removed; their use is replaced by use of Message_Messenger::StreamBuffer
Message_Messenger has been replaced by Standard_OStream within Interface_InterfaceModel,IFSelect,IGES,STEP dump interfaces.
This commit is contained in:
abv
2020-04-30 15:45:31 +03:00
committed by bugmaster
parent 39c8dc708f
commit 0ebe5b0a7f
382 changed files with 3109 additions and 3576 deletions

View File

@@ -253,7 +253,7 @@ void IVtkDraw_Interactor::MoveTo (Standard_Integer theX, Standard_Integer theY)
Handle(Message_Messenger) anOutput = Message::DefaultMessenger();
if (!myPipelines->IsBound(aShapeID))
{
anOutput << "Warning: there is no VTK pipeline registered for highlighted shape" << Message_EndLine;
anOutput->SendWarning() << "Warning: there is no VTK pipeline registered for highlighted shape" << std::endl;
continue;
}
@@ -318,7 +318,7 @@ void IVtkDraw_Interactor::OnSelection()
Handle(Message_Messenger) anOutput = Message::DefaultMessenger();
if (!myPipelines->IsBound (aShapeID))
{
anOutput << "Warning: there is no VTK pipeline registered for picked shape" << Message_EndLine;
anOutput->SendWarning() << "Warning: there is no VTK pipeline registered for picked shape" << std::endl;
continue;
}