From d3e57a1dcf0085092ad0b956e2ce6d799193ecca Mon Sep 17 00:00:00 2001 From: Jouk Date: Mon, 9 May 2016 10:21:13 +0200 Subject: [PATCH] define != operator for WatcherWithUserData needed for find on OpenVMS AXP --- 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 cc3873f595..07f0138842 100644 --- a/src/stc/scintilla/src/Document.h +++ b/src/stc/scintilla/src/Document.h @@ -207,6 +207,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: