Răsfoiți Sursa

COMP: Fix compile errors

Andy Cedilnik 20 ani în urmă
părinte
comite
f00b344ada
2 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 1 1
      Source/CPack/cmCPackLog.cxx
  2. 3 3
      Source/CPack/cmCPackLog.h

+ 1 - 1
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 )
   if ( m_LogOutputCleanup && m_LogOutput )
     {
     {

+ 3 - 3
Source/CPack/cmCPackLog.h

@@ -84,13 +84,13 @@ public:
   bool GetQuiet() { return m_Quiet; }
   bool GetQuiet() { return m_Quiet; }
 
 
   //! Set the output stream
   //! Set the output stream
-  void SetOutputStream(ostream* os) { m_DefaultOutput = os; }
+  void SetOutputStream(std::ostream* os) { m_DefaultOutput = os; }
 
 
   //! Set the error stream
   //! Set the error stream
-  void SetErrorStream(ostream* os) { m_DefaultError = os; }
+  void SetErrorStream(std::ostream* os) { m_DefaultError = os; }
 
 
   //! Set the log output stream
   //! 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
   //! Set the log output file. The cmCPackLog will try to create file. If it
   // cannot, it will report an error.
   // cannot, it will report an error.