From fa531da0233dc112005be92ac11c4f0e16a225f0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 26 Apr 2009 16:50:24 +0000 Subject: [PATCH] wxHashSet::count() method should be const git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/hashset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } \ } -- 2.45.2