From: Vadim Zeitlin Date: Sun, 26 Apr 2009 16:50:24 +0000 (+0000) Subject: wxHashSet::count() method should be const X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fa531da0233dc112005be92ac11c4f0e16a225f0?ds=inline wxHashSet::count() method should be const git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/hashset.h b/include/wx/hashset.h index 542b522c44..82418c03a6 100644 --- a/include/wx/hashset.h +++ b/include/wx/hashset.h @@ -99,7 +99,7 @@ public: \ void erase( const const_iterator& it ) { erase( *it ); } \ \ /* count() == 0 | 1 */ \ - size_type count( const const_key_type& key ) \ + size_type count( const const_key_type& key ) const \ { return GetNode( key ) ? 1 : 0; } \ }