From f00b344adac6ec59d5432311d3986a21582a62f9 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 2 Jan 2006 17:22:39 -0500 Subject: [PATCH] COMP: Fix compile errors --- Source/CPack/cmCPackLog.cxx | 2 +- Source/CPack/cmCPackLog.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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.