diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:44 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:44 +0200 |
| commit | c507ce3198ea4d822832cc8740f0128df8873c02 (patch) | |
| tree | 260ca004916ae03b7d5438bf89007e3984da6934 /hmap.cpp | |
| parent | c8b2ef7b899766d04562f7e04a84251cea8fa701 (diff) | |
tagging ychat-0.3ychat-0.3
Diffstat (limited to 'hmap.cpp')
| -rw-r--r-- | hmap.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -1,7 +1,6 @@ #ifndef hmap_cpp #define hmap_cpp - #include "hmap.h" using namespace std; @@ -161,14 +160,6 @@ int hmap<obj_type, key_type>::nextPrime( int n ) const return n; } template<class obj_type, class key_type> void -hmap<obj_type, key_type>::run_func( void (*func)(obj_type) ) -{ - for( int i = 0; i < array.size( ); i++ ) - if ( array[i].info == ACTIVE ) - ( *func ) ( array[i].element ); -} - -template<class obj_type, class key_type> void hmap<obj_type, key_type>::run_func( void (*func)(obj_type, void*), void* v_arg ) { for( int i = 0; i < array.size( ); i++ ) |
