diff base/Event.h @ 1630:73bda079567a single-point

Add operator!=
author Chris Cannam
date Tue, 12 Mar 2019 14:11:06 +0000
parents abc188026a48
children 687a2453cc15
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) {