From 86c2b552ad7bb3af97bb3c59576ddc7cac841d26 Mon Sep 17 00:00:00 2001 From: Sebastian Holtermann Date: Tue, 14 Feb 2017 22:21:00 +0100 Subject: Autogen: LogWarning method fix --- Source/cmQtAutoGenerators.cxx | 4 ++-- 1 file 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(); } -- cgit v0.12