diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-03-10 10:00:00 -0400 |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-03-10 10:55:09 -0400 |
commit | a6cd48ac414238f922999e9ea457f1bc86c35163 (patch) | |
tree | dfd2d3958de911985f7f8051028def90bf32b154 /Source/CTest | |
parent | c06e0356017beef41cd2bb57a6cebfb242a9128e (diff) | |
download | cmake-a6cd48ac414238f922999e9ea457f1bc86c35163.tar.gz |
Source: use std::string overloads
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestVC.cxx | 2 | ||||
-rw-r--r-- | Source/CTest/cmCTestVC.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestVC.cxx b/Source/CTest/cmCTestVC.cxx index 6026c69bb2..452d7143bc 100644 --- a/Source/CTest/cmCTestVC.cxx +++ b/Source/CTest/cmCTestVC.cxx @@ -38,7 +38,7 @@ void cmCTestVC::SetSourceDirectory(std::string const& dir) this->SourceDirectory = dir; } -bool cmCTestVC::InitialCheckout(const char* command) +bool cmCTestVC::InitialCheckout(const std::string& command) { cmCTestLog(this->CTest, HANDLER_OUTPUT, " First perform the initial checkout: " << command << "\n"); diff --git a/Source/CTest/cmCTestVC.h b/Source/CTest/cmCTestVC.h index 2a4765d28f..3037e01c94 100644 --- a/Source/CTest/cmCTestVC.h +++ b/Source/CTest/cmCTestVC.h @@ -36,7 +36,7 @@ public: std::string GetNightlyTime(); /** Prepare the work tree. */ - bool InitialCheckout(const char* command); + bool InitialCheckout(const std::string& command); /** Perform cleanup operations on the work tree. */ void Cleanup(); |