From: Julian Smart Date: Wed, 15 May 2002 13:13:17 +0000 (+0000) Subject: Added missing const for operator != X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f8169ce715c04fd2670a2e5eaafc3117756580e0?ds=inline Added missing const for operator != git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/colour.h b/include/wx/mac/colour.h index f4afea1ba2..02383e7ff2 100644 --- a/include/wx/mac/colour.h +++ b/include/wx/mac/colour.h @@ -79,7 +79,7 @@ public: m_green == colour.m_green && m_blue == colour.m_blue); } - bool operator != (const wxColour& colour) { return !(*this == colour); } + bool operator != (const wxColour& colour) const { return !(*this == colour); } void InitFromName(const wxString& col);