0031501: Foundation Classes, Message_Printer - remove theToPutEndl argument -- prepar...
[occt.git] / src / IFSelect / IFSelect_SessionPilot.cxx
index 963d157..407f274 100644 (file)
@@ -344,7 +344,8 @@ IFSelect_SessionPilot::IFSelect_SessionPilot (const Standard_CString prompt)
     }
     counter->AddWithGraph (list,thesession->Graph());
   }
-  counter->PrintList(Message::DefaultMessenger(),thesession->Model(),mode);
+  Message_Messenger::StreamBuffer sout = Message::SendInfo();
+  counter->PrintList (sout, thesession->Model(), mode);
   return IFSelect_RetVoid;
 }