summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-05-29 12:15:40 (GMT)
committerBrad King <brad.king@kitware.com>2019-05-29 13:56:08 (GMT)
commit57cedb18c097a7231223b8a4279534216cad1b93 (patch)
tree9a33bf86cbcc6b4ca49c90c3cb77d4fe86daa26e /Source/cmCTest.cxx
parent7c39a9c6b6e2463b9fefc7516faeb48c2cbbd997 (diff)
downloadCMake-57cedb18c097a7231223b8a4279534216cad1b93.zip
CMake-57cedb18c097a7231223b8a4279534216cad1b93.tar.gz
CMake-57cedb18c097a7231223b8a4279534216cad1b93.tar.bz2
cmSystemTools: std::string parameters for tar functions
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 071ff56..d1226c3 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -1611,8 +1611,8 @@ std::string cmCTest::Base64GzipEncodeFile(std::string const& file)
std::vector<std::string> files;
files.push_back(file);
- if (!cmSystemTools::CreateTar(tarFile.c_str(), files,
- cmSystemTools::TarCompressGZip, false)) {
+ if (!cmSystemTools::CreateTar(tarFile, files, cmSystemTools::TarCompressGZip,
+ false)) {
cmCTestLog(this, ERROR_MESSAGE,
"Error creating tar while "
"encoding file: "