coinselection: Remove COutput operators == and !=

These operators are used only by the tests in std::mismatch. As
std::mismatch can take a binary predicate, we can use a lambda that
achieves the same instead.
This commit is contained in:
Andrew Chow
2022-03-23 14:38:14 -04:00
parent f6c39c6adb
commit 049003fe68
2 changed files with 4 additions and 9 deletions

View File

@@ -84,14 +84,6 @@ public:
bool operator<(const COutput& rhs) const {
return outpoint < rhs.outpoint;
}
bool operator!=(const COutput& rhs) const {
return outpoint != rhs.outpoint;
}
bool operator==(const COutput& rhs) const {
return outpoint == rhs.outpoint;
}
};
/** Parameters for one iteration of Coin Selection. */