diff options
author | Brad King <brad.king@kitware.com> | 2019-05-30 13:53:04 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-05-30 13:57:11 (GMT) |
commit | 6e8acc51a57e60aff307e4730c8a2314e5cf737a (patch) | |
tree | 683727e09698ab349c1a6a92238e0dd2c3d647f8 /Source/cmSystemTools.h | |
parent | 9dad42d21a67592040d1100882147eed77753392 (diff) | |
parent | 57cedb18c097a7231223b8a4279534216cad1b93 (diff) | |
download | CMake-6e8acc51a57e60aff307e4730c8a2314e5cf737a.zip CMake-6e8acc51a57e60aff307e4730c8a2314e5cf737a.tar.gz CMake-6e8acc51a57e60aff307e4730c8a2314e5cf737a.tar.bz2 |
Merge topic 'string-tar'
57cedb18c0 cmSystemTools: std::string parameters for tar functions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3392
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index f07de6d..016c266 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -451,14 +451,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 |