changeset 1630:73bda079567a single-point

Add operator!=
author Chris Cannam
date Tue, 12 Mar 2019 14:11:06 +0000
parents abc188026a48
children b2048f350906
files base/Event.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/base/Event.h	Mon Mar 11 15:22:32 2019 +0000
+++ b/base/Event.h	Tue Mar 12 14:11:06 2019 +0000
@@ -194,6 +194,10 @@
         return true;
     }
 
+    bool operator!=(const Event &p) const {
+        return !operator==(p);
+    }
+
     bool operator<(const Event &p) const {
 
         if (m_frame != p.m_frame) {