diff options
author | Betsy McPhail <betsy.mcphail@kitware.com> | 2018-10-04 15:34:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-10-10 10:55:05 (GMT) |
commit | f460bbd4c8afab56f93b9831f1f4d8336480fcc5 (patch) | |
tree | 9e53d236ae5e42dd316d4ae1a48b0d3045c1be8f /Source/CTest/cmCTestSubmitHandler.h | |
parent | 0abf88f6f618bd08933f8c817f0c4ac07b0bc52c (diff) | |
download | CMake-f460bbd4c8afab56f93b9831f1f4d8336480fcc5.zip CMake-f460bbd4c8afab56f93b9831f1f4d8336480fcc5.tar.gz CMake-f460bbd4c8afab56f93b9831f1f4d8336480fcc5.tar.bz2 |
ctest_submit: Refactor file list to use a vector instead of a set
Remove duplicates in a way that preserves order.
Diffstat (limited to 'Source/CTest/cmCTestSubmitHandler.h')
-rw-r--r-- | Source/CTest/cmCTestSubmitHandler.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/CTest/cmCTestSubmitHandler.h b/Source/CTest/cmCTestSubmitHandler.h index b4d0e77..66f2173 100644 --- a/Source/CTest/cmCTestSubmitHandler.h +++ b/Source/CTest/cmCTestSubmitHandler.h @@ -57,27 +57,27 @@ private: * Submit file using various ways */ bool SubmitUsingFTP(const std::string& localprefix, - const std::set<std::string>& files, + const std::vector<std::string>& files, const std::string& remoteprefix, const std::string& url); bool SubmitUsingHTTP(const std::string& localprefix, - const std::set<std::string>& files, + const std::vector<std::string>& files, const std::string& remoteprefix, const std::string& url); bool SubmitUsingSCP(const std::string& scp_command, const std::string& localprefix, - const std::set<std::string>& files, + const std::vector<std::string>& files, const std::string& remoteprefix, const std::string& url); bool SubmitUsingCP(const std::string& localprefix, - const std::set<std::string>& files, + const std::vector<std::string>& files, const std::string& remoteprefix, const std::string& url); - bool TriggerUsingHTTP(const std::set<std::string>& files, + bool TriggerUsingHTTP(const std::vector<std::string>& files, const std::string& remoteprefix, const std::string& url); bool SubmitUsingXMLRPC(const std::string& localprefix, - const std::set<std::string>& files, + const std::vector<std::string>& files, const std::string& remoteprefix, const std::string& url); |