diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-03-18 21:25:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-03-20 15:41:29 (GMT) |
commit | a5eeb0310db04aa661dec37f7cc1073e058f3acf (patch) | |
tree | 0398d06f066387e49d6b3b23c0062232dc425c38 /Source/cmCTest.h | |
parent | 71a3391b5ff95271074cf15a4a5d09ded42a362f (diff) | |
download | CMake-a5eeb0310db04aa661dec37f7cc1073e058f3acf.zip CMake-a5eeb0310db04aa661dec37f7cc1073e058f3acf.tar.gz CMake-a5eeb0310db04aa661dec37f7cc1073e058f3acf.tar.bz2 |
cmCTest: Cleanup typedefs
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index d9f7ee0..5f49cbc 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -11,7 +11,6 @@ #include <chrono> #include <map> #include <memory> // IWYU pragma: keep -#include <set> #include <sstream> #include <string> #include <time.h> @@ -81,9 +80,6 @@ public: if the string does not name a valid part. */ Part GetPartFromName(const char* name); - typedef std::vector<std::string> VectorOfStrings; - typedef std::set<std::string> SetOfStrings; - /** Process Command line arguments */ int Run(std::vector<std::string>&, std::string* output = nullptr); @@ -365,14 +361,14 @@ public: void AddCTestConfigurationOverwrite(const std::string& encstr); /** Create XML file that contains all the notes specified */ - int GenerateNotesFile(const VectorOfStrings& files); + int GenerateNotesFile(std::vector<std::string> const& files); /** Create XML file to indicate that build is complete */ int GenerateDoneFile(); /** Submit extra files to the server */ bool SubmitExtraFiles(const char* files); - bool SubmitExtraFiles(const VectorOfStrings& files); + bool SubmitExtraFiles(std::vector<std::string> const& files); /** Set the output log file name */ void SetOutputLogFileName(const char* name); @@ -511,7 +507,8 @@ private: bool UpdateCTestConfiguration(); /** Create note from files. */ - int GenerateCTestNotesOutput(cmXMLWriter& xml, const VectorOfStrings& files); + int GenerateCTestNotesOutput(cmXMLWriter& xml, + std::vector<std::string> const& files); /** Check if the argument is the one specified */ bool CheckArgument(const std::string& arg, const char* varg1, |