summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-08-23 16:21:26 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2022-11-17 12:37:10 (GMT)
commit9ae6569bfe0d1e68761e8f55b5ea9e905cc0369f (patch)
tree0cc8a9fca979c1e086cc5934077ea9f98c7fd146 /Source
parentfddc48dd2696a8530f03616f21d98e7dab8bc96f (diff)
downloadCMake-9ae6569bfe0d1e68761e8f55b5ea9e905cc0369f.zip
CMake-9ae6569bfe0d1e68761e8f55b5ea9e905cc0369f.tar.gz
CMake-9ae6569bfe0d1e68761e8f55b5ea9e905cc0369f.tar.bz2
ctest.cxx: Optimize `std::ostream::operator<<` calls
Diffstat (limited to 'Source')
-rw-r--r--Source/ctest.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index eba6d82..6310595 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -187,8 +187,7 @@ int main(int argc, char const* const* argv)
if (cmSystemTools::GetCurrentWorkingDirectory().empty()) {
cmCTestLog(&inst, ERROR_MESSAGE,
- "Current working directory cannot be established."
- << std::endl);
+ "Current working directory cannot be established.\n");
return 1;
}
@@ -200,10 +199,9 @@ int main(int argc, char const* const* argv)
cmSystemTools::FileExists("DartTestfile.txt"))) {
if (argc == 1) {
cmCTestLog(&inst, ERROR_MESSAGE,
- "*********************************"
- << std::endl
- << "No test configuration file found!" << std::endl
- << "*********************************" << std::endl);
+ "*********************************\n"
+ "No test configuration file found!\n"
+ "*********************************\n");
}
cmDocumentation doc;
doc.addCTestStandardDocSections();