summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-11-05 22:46:24 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-11-05 22:46:24 (GMT)
commit5ae3966d75593b05a9658af8d2fdd47c2bf48a4d (patch)
treecb36d7859075e9957317256ac314f035eef1d26e /Source/CTest
parent443180fb9915eefe0b232875505632ffb9fabb95 (diff)
downloadCMake-5ae3966d75593b05a9658af8d2fdd47c2bf48a4d.zip
CMake-5ae3966d75593b05a9658af8d2fdd47c2bf48a4d.tar.gz
CMake-5ae3966d75593b05a9658af8d2fdd47c2bf48a4d.tar.bz2
cmCTestSubmitHandler: Remove redundant c_str()
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestSubmitHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestSubmitHandler.cxx b/Source/CTest/cmCTestSubmitHandler.cxx
index d21471d..d10f7ad 100644
--- a/Source/CTest/cmCTestSubmitHandler.cxx
+++ b/Source/CTest/cmCTestSubmitHandler.cxx
@@ -926,7 +926,7 @@ bool cmCTestSubmitHandler::SubmitUsingXMLRPC(
return false;
}
size_t fileSize = static_cast<size_t>(st.st_size);
- FILE* fp = cmsys::SystemTools::Fopen(local_file.c_str(), "rb");
+ FILE* fp = cmsys::SystemTools::Fopen(local_file, "rb");
if (!fp) {
cmCTestLog(this->CTest, ERROR_MESSAGE,
" Cannot open file: " << local_file << std::endl);