clang-tidy: Replace typedef with using

This commit is contained in:
Regina Pfeifer
2019-08-23 23:25:56 +02:00
committed by Brad King
parent 711e1c3ada
commit 62e5f72289
80 changed files with 164 additions and 162 deletions

View File

@@ -24,9 +24,9 @@ class cmComputeComponentGraph
{
public:
// Represent the graph with an adjacency list.
typedef cmGraphNodeList NodeList;
typedef cmGraphEdgeList EdgeList;
typedef cmGraphAdjacencyList Graph;
using NodeList = cmGraphNodeList;
using EdgeList = cmGraphEdgeList;
using Graph = cmGraphAdjacencyList;
cmComputeComponentGraph(Graph const& input);
~cmComputeComponentGraph();