From 91a7f3b04d21dfe5fef7b214aaee745b1428e0bb Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 22 Jun 2004 21:40:17 +0000 Subject: [PATCH] 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 --- include/wx/html/htmlcell.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.50.0