summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestVC.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2018-08-31 23:01:22 (GMT)
committerBrad King <brad.king@kitware.com>2018-09-05 19:12:57 (GMT)
commit6f16be6a6265ee19bd8193da8a7a0d111717ee80 (patch)
tree3c4cf88923ac34587e5abe2d2f701c7572cc599c /Source/CTest/cmCTestVC.cxx
parent612975c6652c83c29fcfcf56a7b5a0cfe0218c93 (diff)
downloadCMake-6f16be6a6265ee19bd8193da8a7a0d111717ee80.zip
CMake-6f16be6a6265ee19bd8193da8a7a0d111717ee80.tar.gz
CMake-6f16be6a6265ee19bd8193da8a7a0d111717ee80.tar.bz2
Remove unnecessary c_str() calls
Use the new IsOn(),IsOff() overloads.
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 a59d671..21c8889 100644
--- a/Source/CTest/cmCTestVC.cxx
+++ b/Source/CTest/cmCTestVC.cxx
@@ -146,7 +146,7 @@ bool cmCTestVC::Update()
// if update version only is on then do not actually update,
// just note the current version and finish
if (!cmSystemTools::IsOn(
- this->CTest->GetCTestConfiguration("UpdateVersionOnly").c_str())) {
+ this->CTest->GetCTestConfiguration("UpdateVersionOnly"))) {
result = this->NoteOldRevision() && result;
this->Log << "--- Begin Update ---\n";
result = this->UpdateImpl() && result;