summaryrefslogtreecommitdiffstats
path: root/Source/cmCustomCommandLines.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-08-23 21:25:56 (GMT)
committerBrad King <brad.king@kitware.com>2019-09-03 17:21:26 (GMT)
commit62e5f722899cfa7c51791be7697c9030aee3a19b (patch)
treeafbde974693e3473db968a5b4a50fe9126e71d14 /Source/cmCustomCommandLines.h
parent711e1c3ada26d952fa6360e671379b7bf1be2f17 (diff)
downloadCMake-62e5f722899cfa7c51791be7697c9030aee3a19b.zip
CMake-62e5f722899cfa7c51791be7697c9030aee3a19b.tar.gz
CMake-62e5f722899cfa7c51791be7697c9030aee3a19b.tar.bz2
clang-tidy: Replace typedef with using
Diffstat (limited to 'Source/cmCustomCommandLines.h')
-rw-r--r--Source/cmCustomCommandLines.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmCustomCommandLines.h b/Source/cmCustomCommandLines.h
index 36838f2..35a15ba 100644
--- a/Source/cmCustomCommandLines.h
+++ b/Source/cmCustomCommandLines.h
@@ -12,18 +12,18 @@
class cmCustomCommandLine : public std::vector<std::string>
{
public:
- typedef std::vector<std::string> Superclass;
- typedef Superclass::iterator iterator;
- typedef Superclass::const_iterator const_iterator;
+ using Superclass = std::vector<std::string>;
+ using iterator = Superclass::iterator;
+ using const_iterator = Superclass::const_iterator;
};
/** Data structure to represent a list of command lines. */
class cmCustomCommandLines : public std::vector<cmCustomCommandLine>
{
public:
- typedef std::vector<cmCustomCommandLine> Superclass;
- typedef Superclass::iterator iterator;
- typedef Superclass::const_iterator const_iterator;
+ using Superclass = std::vector<cmCustomCommandLine>;
+ using iterator = Superclass::iterator;
+ using const_iterator = Superclass::const_iterator;
};
#endif