summaryrefslogtreecommitdiff
path: root/src/maps
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:46 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:46 +0200
commit56187184e11b085b82584d3b088c62f427aae83c (patch)
tree8f8387e750a62581966900a42dade265d34c3146 /src/maps
parentd3a0d11f93c1ebe38b4301c9bef952bfd24d01a1 (diff)
tagging yhttpd-0.7.1yhttpd-0.7.1
Diffstat (limited to 'src/maps')
-rw-r--r--src/maps/mtools.h6
-rw-r--r--src/maps/mtools.tmpl5
2 files changed, 7 insertions, 4 deletions
diff --git a/src/maps/mtools.h b/src/maps/mtools.h
index 4ee45b8..f32a49e 100644
--- a/src/maps/mtools.h
+++ b/src/maps/mtools.h
@@ -1,6 +1,7 @@
#ifndef MTOOLS_H
#define MTOOLS_H
+
template <class type_>
struct mtools
{
@@ -8,4 +9,7 @@ struct mtools
};
#include "mtools.tmpl"
-#endif
+
+#endif
+
+
diff --git a/src/maps/mtools.tmpl b/src/maps/mtools.tmpl
index 6917131..dd3f89e 100644
--- a/src/maps/mtools.tmpl
+++ b/src/maps/mtools.tmpl
@@ -3,10 +3,9 @@
template <class type_>
void
-mtools<type_>::delete_obj( type_ type_obj )
-{
+mtools<type_>::delete_obj( type_ type_obj ) {
if ( type_obj )
- delete type_obj;
+ delete type_obj;
}
#endif