summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-02-14 21:21:00 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-02-19 11:35:41 (GMT)
commit86c2b552ad7bb3af97bb3c59576ddc7cac841d26 (patch)
tree6000de17ce366aa1f5ad24f79ac550508f074791 /Source/cmQtAutoGenerators.cxx
parent2fed7bcc1f4a19f4942cddfdd42278f1c20feccc (diff)
downloadCMake-86c2b552ad7bb3af97bb3c59576ddc7cac841d26.zip
CMake-86c2b552ad7bb3af97bb3c59576ddc7cac841d26.tar.gz
CMake-86c2b552ad7bb3af97bb3c59576ddc7cac841d26.tar.bz2
Autogen: LogWarning method fix
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r--Source/cmQtAutoGenerators.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index 075059e..f1cd67e 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/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();
}