# HG changeset patch # User Chris Cannam # Date 1552399866 0 # Node ID 73bda079567a6c298636cfd554ca1095b604c91f # Parent abc188026a48d8e2296f0d2f052d4260ded6d569 Add operator!= diff -r abc188026a48 -r 73bda079567a base/Event.h --- 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) {