diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-02-14 21:21:00 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-02-19 11:35:41 (GMT) |
commit | 86c2b552ad7bb3af97bb3c59576ddc7cac841d26 (patch) | |
tree | 6000de17ce366aa1f5ad24f79ac550508f074791 /Source | |
parent | 2fed7bcc1f4a19f4942cddfdd42278f1c20feccc (diff) | |
download | CMake-86c2b552ad7bb3af97bb3c59576ddc7cac841d26.zip CMake-86c2b552ad7bb3af97bb3c59576ddc7cac841d26.tar.gz CMake-86c2b552ad7bb3af97bb3c59576ddc7cac841d26.tar.bz2 |
Autogen: LogWarning method fix
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmQtAutoGenerators.cxx | 4 |
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(); } |