summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
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/cmSystemTools.h
parent7c39a9c6b6e2463b9fefc7516faeb48c2cbbd997 (diff)
downloadCMake-57cedb18c097a7231223b8a4279534216cad1b93.zip
CMake-57cedb18c097a7231223b8a4279534216cad1b93.tar.gz
CMake-57cedb18c097a7231223b8a4279534216cad1b93.tar.bz2
cmSystemTools: std::string parameters for tar functions
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 09a4d13..7fb369e 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -450,14 +450,14 @@ public:
TarCompressNone
};
- static bool ListTar(const char* outFileName,
+ static bool ListTar(const std::string& outFileName,
const std::vector<std::string>& files, bool verbose);
- static bool CreateTar(const char* outFileName,
+ static bool CreateTar(const std::string& outFileName,
const std::vector<std::string>& files,
cmTarCompression compressType, bool verbose,
std::string const& mtime = std::string(),
std::string const& format = std::string());
- static bool ExtractTar(const char* inFileName,
+ static bool ExtractTar(const std::string& inFileName,
const std::vector<std::string>& files, bool verbose);
// This should be called first thing in main
// it will keep child processes from inheriting the