summaryrefslogtreecommitdiff
path: root/hmap.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
commitc507ce3198ea4d822832cc8740f0128df8873c02 (patch)
tree260ca004916ae03b7d5438bf89007e3984da6934 /hmap.h
parentc8b2ef7b899766d04562f7e04a84251cea8fa701 (diff)
tagging ychat-0.3ychat-0.3
Diffstat (limited to 'hmap.h')
-rw-r--r--hmap.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/hmap.h b/hmap.h
index 2392133..39923c7 100644
--- a/hmap.h
+++ b/hmap.h
@@ -53,7 +53,6 @@ public:
virtual void del_elem ( const key_type &k );
virtual obj_type get_elem ( const key_type &k );
- virtual void run_func( void (*func)(obj_type) );
virtual void run_func( void (*func)(obj_type, void*), void* v_arg );
// inline:
@@ -81,11 +80,6 @@ public:
return static_cast<double>(getSize())/static_cast<double>(getCapacity());
}
- obj_type& operator[]( key_type &k )
- {
- return get_elem( k );
- }
-
};
template <class obj_type, class key_type>