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.tmpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/maps/nhashmap.tmpl') diff --git a/src/maps/nhashmap.tmpl b/src/maps/nhashmap.tmpl index 0cba2fd..3ea1934 100644 --- a/src/maps/nhashmap.tmpl +++ b/src/maps/nhashmap.tmpl @@ -1,11 +1,11 @@ -template +template obj_type -nhashmap::get_elem(string s_key) +nhashmap::get_elem(key_type_ t_key) { - typename hashmap::iterator iter = this->find(s_key); + typename hashmap::iterator iter = this->find(t_key); if ( iter != this->end() ) - return iter->second; + return iter->second; - return NULL; -} + return NULL; +} -- cgit v1.2.3