mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 06:03:03 +02:00
Fix some clang-tidy warnings
This commit is contained in:
+3
-3
@@ -79,9 +79,9 @@ public:
|
||||
|
||||
struct GraphAcycEdgeCmp {
|
||||
inline bool operator()(const V3GraphEdge* lhsp, const V3GraphEdge* rhsp) const {
|
||||
if (lhsp->weight() > rhsp->weight()) return 1; // LHS goes first
|
||||
if (lhsp->weight() < rhsp->weight()) return 0; // RHS goes first
|
||||
return 0;
|
||||
if (lhsp->weight() > rhsp->weight()) return true; // LHS goes first
|
||||
if (lhsp->weight() < rhsp->weight()) return false; // RHS goes first
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user