diff options
Diffstat (limited to 'src/maps/nhashmap.tmpl')
| -rw-r--r-- | src/maps/nhashmap.tmpl | 8 |
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; +} |
