From: Vadim Zeitlin Date: Mon, 6 Oct 2008 13:24:25 +0000 (+0000) Subject: remove erase(const_iterator) overload, it should have never existed as const_iterator... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2780d31b74cd415150d080ca9fe9c29428073587 remove erase(const_iterator) overload, it should have never existed as const_iterators can't be used to modify the container git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/hashmap.h b/include/wx/hashmap.h index 1c11d75f80..e2e56195fe 100644 --- a/include/wx/hashmap.h +++ b/include/wx/hashmap.h @@ -679,7 +679,6 @@ public: \ size_type erase( const key_type& k ) \ { return CLASSNAME##_wxImplementation_HashTable::erase( k ); } \ void erase( const iterator& it ) { erase( it->first ); } \ - void erase( const const_iterator& it ) { erase( it->first ); } \ \ /* count() == 0 | 1 */ \ size_type count( const const_key_type& key ) \