diff --git a/src/stc/scintilla/src/Document.h b/src/stc/scintilla/src/Document.h index d74678375c..c985af499d 100644 --- a/src/stc/scintilla/src/Document.h +++ b/src/stc/scintilla/src/Document.h @@ -192,7 +192,7 @@ public: return (watcher == other.watcher) && (userData == other.userData); } bool operator!=(const WatcherWithUserData &other) const { - return (watcher != other.watcher) || (userData != other.userData); + return !(*this == other); } };