summaryrefslogtreecommitdiff
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-03-18 22:25:50 +0100
committerBrad King <brad.king@kitware.com>2019-03-20 11:41:29 -0400
commita5eeb0310db04aa661dec37f7cc1073e058f3acf (patch)
tree0398d06f066387e49d6b3b23c0062232dc425c38 /Source/cmCTest.h
parent71a3391b5ff95271074cf15a4a5d09ded42a362f (diff)
downloadcmake-a5eeb0310db04aa661dec37f7cc1073e058f3acf.tar.gz
cmCTest: Cleanup typedefs
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r--Source/cmCTest.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index d9f7ee0596..5f49cbc8e7 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,