summaryrefslogtreecommitdiffstats
path: root/Source/cmMessenger.cxx
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2019-07-04 18:04:19 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2019-07-09 22:06:14 (GMT)
commitb821f9ad62d97b975255380674aaedfce296a8b8 (patch)
tree6a6cded47e71bae966932acb9cdf665b4a4ae308 /Source/cmMessenger.cxx
parentf374ffb14b3e55bbee8e7bb0eb3e5a33ee3612f1 (diff)
downloadCMake-b821f9ad62d97b975255380674aaedfce296a8b8.zip
CMake-b821f9ad62d97b975255380674aaedfce296a8b8.tar.gz
CMake-b821f9ad62d97b975255380674aaedfce296a8b8.tar.bz2
Refactor: Optimize some stream output operations
- remove redundant `std::flush` right after `std::endl` - join some string literals Signed-off-by: Alex Turbov <i.zaufi@gmail.com>
Diffstat (limited to 'Source/cmMessenger.cxx')
-rw-r--r--Source/cmMessenger.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmMessenger.cxx b/Source/cmMessenger.cxx
index 1d790e2..0d2b21f 100644
--- a/Source/cmMessenger.cxx
+++ b/Source/cmMessenger.cxx
@@ -100,8 +100,7 @@ void displayMessage(MessageType t, std::ostringstream& msg)
"it.";
} else if (t == MessageType::AUTHOR_ERROR) {
msg << "This error is for project developers. Use -Wno-error=dev to "
- "suppress "
- "it.";
+ "suppress it.";
}
// Add a terminating blank line.