diff --git a/Source/CPack/cmCPackLog.cxx b/Source/CPack/cmCPackLog.cxx index 85861c705..d643589a6 100644 --- a/Source/CPack/cmCPackLog.cxx +++ b/Source/CPack/cmCPackLog.cxx @@ -44,7 +44,7 @@ cmCPackLog::~cmCPackLog() } //---------------------------------------------------------------------- -void cmCPackLog::SetLogOutputStream(ostream* os) +void cmCPackLog::SetLogOutputStream(std::ostream* os) { if ( m_LogOutputCleanup && m_LogOutput ) { diff --git a/Source/CPack/cmCPackLog.h b/Source/CPack/cmCPackLog.h index 526f0ae57..f43f51313 100644 --- a/Source/CPack/cmCPackLog.h +++ b/Source/CPack/cmCPackLog.h @@ -84,13 +84,13 @@ public: bool GetQuiet() { return m_Quiet; } //! Set the output stream - void SetOutputStream(ostream* os) { m_DefaultOutput = os; } + void SetOutputStream(std::ostream* os) { m_DefaultOutput = os; } //! Set the error stream - void SetErrorStream(ostream* os) { m_DefaultError = os; } + void SetErrorStream(std::ostream* os) { m_DefaultError = os; } //! Set the log output stream - void SetLogOutputStream(ostream* os); + void SetLogOutputStream(std::ostream* os); //! Set the log output file. The cmCPackLog will try to create file. If it // cannot, it will report an error.