summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestVC.cxx
diff options
context:
space:
mode:
authorRose <83477269+AtariDreams@users.noreply.github.com>2021-10-27 18:01:25 (GMT)
committerBrad King <brad.king@kitware.com>2021-11-04 13:20:48 (GMT)
commitb86b6aaa4a27009af4e1457458cf35185be00dc5 (patch)
treed8410f37e0df5aeb59bad57a6ded0961b63f1721 /Source/CTest/cmCTestVC.cxx
parent6251239a1c0f0f8342813ff800c184ca2672935b (diff)
downloadCMake-b86b6aaa4a27009af4e1457458cf35185be00dc5.zip
CMake-b86b6aaa4a27009af4e1457458cf35185be00dc5.tar.gz
CMake-b86b6aaa4a27009af4e1457458cf35185be00dc5.tar.bz2
Source: Cleanup and simplify some code
Diffstat (limited to 'Source/CTest/cmCTestVC.cxx')
-rw-r--r--Source/CTest/cmCTestVC.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestVC.cxx b/Source/CTest/cmCTestVC.cxx
index 9ba6456..d5711c5 100644
--- a/Source/CTest/cmCTestVC.cxx
+++ b/Source/CTest/cmCTestVC.cxx
@@ -126,7 +126,7 @@ std::string cmCTestVC::GetNightlyTime()
snprintf(current_time, sizeof(current_time), "%04d-%02d-%02d %02d:%02d:%02d",
t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, t->tm_hour, t->tm_min,
t->tm_sec);
- return std::string(current_time);
+ return { current_time };
}
void cmCTestVC::Cleanup()