From 4b704d41935d31c6d2fd18ae6a8652a7cdcb774e Mon Sep 17 00:00:00 2001 From: Jouk Date: Thu, 16 Jul 2015 07:47:43 +0200 Subject: [PATCH] Define also != operator, since find on OpenVMS-AXP needs it --- 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 5e66dc2b62..e5e21b8d63 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: