Explorar el Código

Autogen: LogWarning method fix

Sebastian Holtermann hace 8 años
padre
commit
86c2b552ad
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      Source/cmQtAutoGenerators.cxx

+ 2 - 2
Source/cmQtAutoGenerators.cxx

@@ -1580,13 +1580,13 @@ void cmQtAutoGenerators::LogWarning(const std::string& message)
 {
   std::ostringstream ostr;
   ostr << message << "\n";
-  std::cout << message.c_str();
+  std::cout << ostr.str();
 }
 
 void cmQtAutoGenerators::LogError(const std::string& message)
 {
   std::ostringstream ostr;
-  ostr << message << "\n\n";
+  ostr << message << "\n";
   std::cerr << ostr.str();
 }