summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-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 cb4aa2d..ccc6fcb 100644
--- a/Source/CTest/cmCTestVC.cxx
+++ b/Source/CTest/cmCTestVC.cxx
@@ -86,7 +86,7 @@ std::string cmCTestVC::GetNightlyTime()
t->tm_hour,
t->tm_min,
t->tm_sec);
- return current_time;
+ return std::string(current_time);
}
//----------------------------------------------------------------------------