1
0
Andy Cedilnik 20 жил өмнө
parent
commit
f00b344ada

+ 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 )
     {

+ 3 - 3
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.