From: Vadim Zeitlin Date: Tue, 22 Jun 2004 21:40:17 +0000 (+0000) Subject: remove unnecessary (and provoking a warning under IRIX) const qualifier on the return... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/91a7f3b04d21dfe5fef7b214aaee745b1428e0bb?ds=inline remove unnecessary (and provoking a warning under IRIX) const qualifier on the return value of a function returning bool git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/html/htmlcell.h b/include/wx/html/htmlcell.h index bb1b83a5c3..4bc6bb4f4d 100644 --- a/include/wx/html/htmlcell.h +++ b/include/wx/html/htmlcell.h @@ -59,7 +59,7 @@ public: void SetToPrivPos(const wxPoint& pos) { m_toPrivPos = pos; } void ClearPrivPos() { m_toPrivPos = m_fromPrivPos = wxDefaultPosition; } - const bool IsEmpty() const + bool IsEmpty() const { return m_fromPos == wxDefaultPosition && m_toPos == wxDefaultPosition; }