Commit 44df1c5
committed
review comment: remove redundant empty(), use Default instead
JoinQualityMetrics had both a const fn empty() and a derived Default
that produced identical zero-values. Since empty() was not used in a
const context, remove it and use Default::default() at the one callsite
to eliminate the drift risk.
#166 (comment)1 parent d35e686 commit 44df1c5
1 file changed
+1
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1572 | 1572 | | |
1573 | 1573 | | |
1574 | 1574 | | |
1575 | | - | |
| 1575 | + | |
1576 | 1576 | | |
1577 | 1577 | | |
1578 | 1578 | | |
| |||
1672 | 1672 | | |
1673 | 1673 | | |
1674 | 1674 | | |
1675 | | - | |
1676 | | - | |
1677 | | - | |
1678 | | - | |
1679 | | - | |
1680 | | - | |
1681 | | - | |
1682 | | - | |
1683 | | - | |
1684 | | - | |
1685 | | - | |
1686 | | - | |
1687 | | - | |
1688 | | - | |
1689 | | - | |
1690 | | - | |
1691 | | - | |
1692 | | - | |
1693 | | - | |
1694 | | - | |
1695 | 1675 | | |
1696 | 1676 | | |
1697 | 1677 | | |
| |||
0 commit comments