From 5f4e214740242513c837c8a005ca23779bab1d0c Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:45 +0200 Subject: tagging ychat-0.8.2 --- src/maps/hashmap.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/maps/hashmap.h') diff --git a/src/maps/hashmap.h b/src/maps/hashmap.h index 1bdc515..b3a3212 100644 --- a/src/maps/hashmap.h +++ b/src/maps/hashmap.h @@ -6,13 +6,13 @@ using namespace std; template -struct compare_allocator +struct compare_allocator { inline bool operator()(key_type_ t_key_1, key_type_ t_key_2) const; }; template -struct equals_allocator +struct equals_allocator { inline bool operator()(key_type_ t_key_1, key_type_ t_key_2) const; }; @@ -31,10 +31,10 @@ struct self_hash template < - class obj_type, - class key_type_ = string, - class hash_type = size_hash, - class alloc_type = compare_allocator +class obj_type, +class key_type_ = string, +class hash_type = size_hash, +class alloc_type = compare_allocator > struct hashmap : public __gnu_cxx::hash_map { @@ -42,7 +42,7 @@ struct hashmap : public __gnu_cxx::hash_map* get_key_vector(); virtual inline bool exists(key_type_ t_key); virtual inline void run_func( void (*func)(obj_type) ); -- cgit v1.2.3