diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-08-23 21:25:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-09-03 17:21:26 (GMT) |
commit | 62e5f722899cfa7c51791be7697c9030aee3a19b (patch) | |
tree | afbde974693e3473db968a5b4a50fe9126e71d14 /Source/cmComputeLinkDepends.h | |
parent | 711e1c3ada26d952fa6360e671379b7bf1be2f17 (diff) | |
download | CMake-62e5f722899cfa7c51791be7697c9030aee3a19b.zip CMake-62e5f722899cfa7c51791be7697c9030aee3a19b.tar.gz CMake-62e5f722899cfa7c51791be7697c9030aee3a19b.tar.bz2 |
clang-tidy: Replace typedef with using
Diffstat (limited to 'Source/cmComputeLinkDepends.h')
-rw-r--r-- | Source/cmComputeLinkDepends.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmComputeLinkDepends.h b/Source/cmComputeLinkDepends.h index 839c27a..f0ac771 100644 --- a/Source/cmComputeLinkDepends.h +++ b/Source/cmComputeLinkDepends.h @@ -44,7 +44,7 @@ public: bool IsFlag = false; }; - typedef std::vector<LinkEntry> EntryVector; + using EntryVector = std::vector<LinkEntry>; EntryVector const& Compute(); void SetOldLinkDirMode(bool b); @@ -111,9 +111,9 @@ private: void InferDependencies(); // Ordering constraint graph adjacency list. - typedef cmGraphNodeList NodeList; - typedef cmGraphEdgeList EdgeList; - typedef cmGraphAdjacencyList Graph; + using NodeList = cmGraphNodeList; + using EdgeList = cmGraphEdgeList; + using Graph = cmGraphAdjacencyList; Graph EntryConstraintGraph; void CleanConstraintGraph(); void DisplayConstraintGraph(); |