From b7352f53bbdf22388eed3fede2b4d8f7799c9b25 Mon Sep 17 00:00:00 2001 From: uvos Date: Sat, 5 Jun 2021 11:44:29 +0200 Subject: [PATCH] also add operator != --- uvoscam.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/uvoscam.h b/uvoscam.h index d95d179..12e612d 100644 --- a/uvoscam.h +++ b/uvoscam.h @@ -54,6 +54,10 @@ public: { return in.getHash() == getHash(); } + bool operator!=(const Description& in) const + { + return !operator==(in); + } }; static constexpr size_t BUFFER_DEPTH = 8;