summaryrefslogtreecommitdiff
path: root/src/maps/nhashmap.tmpl
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
commit5b7605790328c6c0f473296df444d0f4a79ac779 (patch)
tree48b545ac0295c69fb02247d4ad780be311642462 /src/maps/nhashmap.tmpl
parentd3982ec72b255876db00825605d1d5aae0bc313e (diff)
tagging ychat-0.7.6ychat-0.7.6
Diffstat (limited to 'src/maps/nhashmap.tmpl')
-rw-r--r--src/maps/nhashmap.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/maps/nhashmap.tmpl b/src/maps/nhashmap.tmpl
index 422ea2f..0cba2fd 100644
--- a/src/maps/nhashmap.tmpl
+++ b/src/maps/nhashmap.tmpl
@@ -2,10 +2,10 @@ template<class obj_type>
obj_type
nhashmap<obj_type>::get_elem(string s_key)
{
- typename hashmap<obj_type>::iterator iter = this->find(s_key);
+ typename hashmap<obj_type>::iterator iter = this->find(s_key);
if ( iter != this->end() )
- return iter->second;
+ return iter->second;
- return NULL;
-}
+ return NULL;
+}