diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-01-07 23:36:27 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-04-14 22:48:35 +0200 |
| commit | d5aa7509cd1b50be5b6a929e00a2572b30585629 (patch) | |
| tree | a2e0ce431ff764f7b4fd14800397b8787422f686 /src/verify.cc | |
| parent | 73913fea96a32df5bb8a4b439844839e7828af21 (diff) | |
Add operator!= for dcp::VerificationNote.
Diffstat (limited to 'src/verify.cc')
| -rw-r--r-- | src/verify.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/verify.cc b/src/verify.cc index 8d06f9fa..ba0007db 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -2163,6 +2163,13 @@ dcp::operator== (dcp::VerificationNote const& a, dcp::VerificationNote const& b) bool +dcp::operator!=(dcp::VerificationNote const& a, dcp::VerificationNote const& b) +{ + return !(a == b); +} + + +bool dcp::operator< (dcp::VerificationNote const& a, dcp::VerificationNote const& b) { if (a.type() != b.type()) { |
