Internals: Cleanup some inlines, use constexpr. No functional change intended.

This commit is contained in:
Wilson Snyder
2020-12-01 18:49:03 -05:00
parent 014e43f0ef
commit 212e8fb14b
18 changed files with 54 additions and 57 deletions
+2 -2
View File
@@ -469,12 +469,12 @@ void V3Graph::makeEdgesNonCutable(V3EdgeFuncP edgeFuncp) {
// Algorithms - sorting
struct GraphSortVertexCmp {
inline bool operator()(const V3GraphVertex* lhsp, const V3GraphVertex* rhsp) const {
bool operator()(const V3GraphVertex* lhsp, const V3GraphVertex* rhsp) const {
return lhsp->sortCmp(rhsp) < 0;
}
};
struct GraphSortEdgeCmp {
inline bool operator()(const V3GraphEdge* lhsp, const V3GraphEdge* rhsp) const {
bool operator()(const V3GraphEdge* lhsp, const V3GraphEdge* rhsp) const {
return lhsp->sortCmp(rhsp) < 0;
}
};