From c8b2ef7b899766d04562f7e04a84251cea8fa701 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:44 +0200 Subject: tagging ychat-0.8.0 --- src/maps/nhashmap.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/maps/nhashmap.h') diff --git a/src/maps/nhashmap.h b/src/maps/nhashmap.h index 75984b5..f440230 100644 --- a/src/maps/nhashmap.h +++ b/src/maps/nhashmap.h @@ -5,10 +5,16 @@ using namespace std; -template -struct nhashmap : public shashmap +template +< +class obj_type, +class key_type_ = string, +class hash_type = size_hash, +class alloc_type = compare_allocator +> +struct nhashmap : public shashmap { - inline obj_type get_elem(string s_key); + inline obj_type get_elem(key_type_ t_key); }; #include "nhashmap.tmpl" -- cgit v1.2.3