Internals: Standardize template argument names. No functional change.

This commit is contained in:
Wilson Snyder
2024-11-29 20:20:38 -05:00
parent 990ccd6763
commit 0c820c3068
28 changed files with 524 additions and 521 deletions
+2 -2
View File
@@ -79,12 +79,12 @@ void V3GraphVertex::rerouteEdges(V3Graph* graphp) {
unlinkEdges(graphp);
}
template <GraphWay::en T_Way>
template <GraphWay::en N_Way>
V3GraphEdge* V3GraphVertex::findConnectingEdgep(V3GraphVertex* waywardp) {
// O(edges) linear search. Searches search both nodes' edge lists in
// parallel. The lists probably aren't _both_ huge, so this is
// unlikely to blow up even on fairly nasty graphs.
constexpr GraphWay way{T_Way};
constexpr GraphWay way{N_Way};
constexpr GraphWay inv = way.invert();
auto& aEdges = this->edges<way>();
auto aIt = aEdges.begin();