Internals: Mark structs final/VL_NOT_FINAL. No functional change intended.

This commit is contained in:
Wilson Snyder
2024-01-20 15:06:46 -05:00
parent 1a92502788
commit 3a5248a919
48 changed files with 88 additions and 85 deletions
+2 -2
View File
@@ -422,12 +422,12 @@ void V3Graph::subtreeLoops(V3EdgeFuncP edgeFuncp, V3GraphVertex* vertexp, V3Grap
//######################################################################
// Algorithms - sorting
struct GraphSortVertexCmp {
struct GraphSortVertexCmp final {
bool operator()(const V3GraphVertex* lhsp, const V3GraphVertex* rhsp) const {
return lhsp->sortCmp(rhsp) < 0;
}
};
struct GraphSortEdgeCmp {
struct GraphSortEdgeCmp final {
bool operator()(const V3GraphEdge* lhsp, const V3GraphEdge* rhsp) const {
return lhsp->sortCmp(rhsp) < 0;
}