diff options
Diffstat (limited to 'Tests/CMakeLib/testGeneratedFileStream.cxx')
-rw-r--r-- | Tests/CMakeLib/testGeneratedFileStream.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Tests/CMakeLib/testGeneratedFileStream.cxx b/Tests/CMakeLib/testGeneratedFileStream.cxx index 128cab4..67dd69a 100644 --- a/Tests/CMakeLib/testGeneratedFileStream.cxx +++ b/Tests/CMakeLib/testGeneratedFileStream.cxx @@ -81,14 +81,14 @@ int testGeneratedFileStream(int, char* []) cmFailed("Something wrong with cmGeneratedFileStream. Cannot find file: ", file1.c_str()); } - cmSystemTools::RemoveFile(file1.c_str()); - cmSystemTools::RemoveFile(file2.c_str()); - cmSystemTools::RemoveFile(file3.c_str()); - cmSystemTools::RemoveFile(file4.c_str()); - cmSystemTools::RemoveFile(file1tmp.c_str()); - cmSystemTools::RemoveFile(file2tmp.c_str()); - cmSystemTools::RemoveFile(file3tmp.c_str()); - cmSystemTools::RemoveFile(file4tmp.c_str()); + cmSystemTools::RemoveFile(file1); + cmSystemTools::RemoveFile(file2); + cmSystemTools::RemoveFile(file3); + cmSystemTools::RemoveFile(file4); + cmSystemTools::RemoveFile(file1tmp); + cmSystemTools::RemoveFile(file2tmp); + cmSystemTools::RemoveFile(file3tmp); + cmSystemTools::RemoveFile(file4tmp); return failed; } |