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:
parent
e812c32f56
commit
fa531da023
@ -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; } \
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user