wxHashSet::count() method should be const

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-04-26 16:50:24 +00:00
parent e812c32f56
commit fa531da023

View File

@ -99,7 +99,7 @@ public: \
void erase( const const_iterator& it ) { erase( *it ); } \ void erase( const const_iterator& it ) { erase( *it ); } \
\ \
/* count() == 0 | 1 */ \ /* 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; } \ { return GetNode( key ) ? 1 : 0; } \
} }