From c507ce3198ea4d822832cc8740f0128df8873c02 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:44 +0200 Subject: tagging ychat-0.3 --- hmap.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'hmap.cpp') diff --git a/hmap.cpp b/hmap.cpp index 662a203..ec9c37c 100644 --- a/hmap.cpp +++ b/hmap.cpp @@ -1,7 +1,6 @@ #ifndef hmap_cpp #define hmap_cpp - #include "hmap.h" using namespace std; @@ -160,14 +159,6 @@ int hmap::nextPrime( int n ) const return n; } -template void -hmap::run_func( void (*func)(obj_type) ) -{ - for( int i = 0; i < array.size( ); i++ ) - if ( array[i].info == ACTIVE ) - ( *func ) ( array[i].element ); -} - template void hmap::run_func( void (*func)(obj_type, void*), void* v_arg ) { -- cgit v1.2.3