From dba5aea4839cbfa1b20d266446273a378ce0fa19 Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Mon, 10 Nov 2014 09:34:32 +0000 Subject: [PATCH] Some implementation of find (i.e. OpenVMS(AXP)) need the != operator git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/stc/scintilla/src/Document.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/stc/scintilla/src/Document.h b/src/stc/scintilla/src/Document.h index effdd5fe55..d74678375c 100644 --- a/src/stc/scintilla/src/Document.h +++ b/src/stc/scintilla/src/Document.h @@ -191,6 +191,9 @@ public: bool operator==(const WatcherWithUserData &other) const { return (watcher == other.watcher) && (userData == other.userData); } + bool operator!=(const WatcherWithUserData &other) const { + return (watcher != other.watcher) || (userData != other.userData); + } }; private: