cmCTestSubmitHandler: Remove redundant c_str()
This commit is contained in:
parent
443180fb99
commit
5ae3966d75
@ -926,7 +926,7 @@ bool cmCTestSubmitHandler::SubmitUsingXMLRPC(
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
size_t fileSize = static_cast<size_t>(st.st_size);
|
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) {
|
if (!fp) {
|
||||||
cmCTestLog(this->CTest, ERROR_MESSAGE,
|
cmCTestLog(this->CTest, ERROR_MESSAGE,
|
||||||
" Cannot open file: " << local_file << std::endl);
|
" Cannot open file: " << local_file << std::endl);
|
||||||
|
Loading…
Reference in New Issue
Block a user