diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2019-07-04 18:04:19 (GMT) |
---|---|---|
committer | Alex Turbov <i.zaufi@gmail.com> | 2019-07-09 22:06:14 (GMT) |
commit | b821f9ad62d97b975255380674aaedfce296a8b8 (patch) | |
tree | 6a6cded47e71bae966932acb9cdf665b4a4ae308 /Source/cmMessenger.cxx | |
parent | f374ffb14b3e55bbee8e7bb0eb3e5a33ee3612f1 (diff) | |
download | CMake-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.cxx | 3 |
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. |