summaryrefslogtreecommitdiff
path: root/src/chat/base.tmpl
diff options
context:
space:
mode:
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