From e609b182a409b16ac1aa19046271df013c885ba1 Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Tue, 11 Nov 2014 07:59:21 +0000 Subject: [PATCH] Correction on commit #78110 as suggested by VZ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/stc/scintilla/src/Document.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } };