summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestScriptHandler.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-05-26 20:52:22 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-05-26 20:52:22 (GMT)
commit1b2bb93302116a4791cf82e9cce028dfe87ef55d (patch)
treeb20aead9b34d9bdba3243439dd8f0aed032727e2 /Source/CTest/cmCTestScriptHandler.cxx
parentacd8a73044e879286f0cfa24b54497a8307f204b (diff)
downloadCMake-1b2bb93302116a4791cf82e9cce028dfe87ef55d.zip
CMake-1b2bb93302116a4791cf82e9cce028dfe87ef55d.tar.gz
CMake-1b2bb93302116a4791cf82e9cce028dfe87ef55d.tar.bz2
Remove redundant c_str() calls.
Run clang-tidy's readability-redundant-string-cstr checker. Ignore findings in kwsys.
Diffstat (limited to 'Source/CTest/cmCTestScriptHandler.cxx')
-rw-r--r--Source/CTest/cmCTestScriptHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestScriptHandler.cxx b/Source/CTest/cmCTestScriptHandler.cxx
index ba0e816..6389a9d 100644
--- a/Source/CTest/cmCTestScriptHandler.cxx
+++ b/Source/CTest/cmCTestScriptHandler.cxx
@@ -485,7 +485,7 @@ int cmCTestScriptHandler::ExtractVariables()
// if the dashboard root isn't specified then we can compute it from the
// this->SourceDir
if (this->CTestRoot.empty()) {
- this->CTestRoot = cmSystemTools::GetFilenamePath(this->SourceDir).c_str();
+ this->CTestRoot = cmSystemTools::GetFilenamePath(this->SourceDir);
}
// the script may override the minimum continuous interval