//=======================================================================
//function : Constructor
-//purpose : Opening a file as an ostream
+//purpose : Opening a file as an std::ostream
// for specific file names standard streams are created
//=======================================================================
Message_PrinterOStream::Message_PrinterOStream (const Standard_CString theFileName,
if ( theGravity < myTraceLevel || ! myStream ) return;
Standard_OStream* ostr = (Standard_OStream*)myStream;
(*ostr) << theString;
- if ( putEndl ) (*ostr) << endl;
+ if ( putEndl ) (*ostr) << std::endl;
}
//=======================================================================