diff --git a/src/stc/scintilla/src/Document.h b/src/stc/scintilla/src/Document.h index d82aa46b5a..2d6005bbfb 100644 --- a/src/stc/scintilla/src/Document.h +++ b/src/stc/scintilla/src/Document.h @@ -211,6 +211,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: