summaryrefslogtreecommitdiff
path: root/src/chat/base.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/chat/base.tmpl
parentd3982ec72b255876db00825605d1d5aae0bc313e (diff)
tagging ychat-0.7.6ychat-0.7.6
Diffstat (limited to 'src/chat/base.tmpl')
-rwxr-xr-xsrc/chat/base.tmpl18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/chat/base.tmpl b/src/chat/base.tmpl
index 0be21aa..bfeabad 100755
--- a/src/chat/base.tmpl
+++ b/src/chat/base.tmpl
@@ -4,28 +4,30 @@
#include "base.h"
template<class type>
-base<type>::base()
-{}
+base<type>::base()
+{
+}
template<class type>
base<type>::~base( )
-{}
+{
+}
template<class type>
type*
base<type>::get_elem( string s_name, bool &b_found )
{
- s_name = to_lower(s_name);
- type* p_type = nhashmap<type*>::get_elem( s_name );
- b_found = p_type == NULL ? false : true;
- return p_type;
+ s_name = to_lower(s_name);
+ type* p_type = nhashmap<type*>::get_elem( s_name );
+ b_found = p_type == NULL ? false : true;
+ return p_type;
}
template<class type>
void
base<type>::add_elem( type* p_type )
{
- nhashmap<type*>::add_elem(p_type, p_type->get_lowercase_name());
+ nhashmap<type*>::add_elem(p_type, p_type->get_lowercase_name());
}
#endif