diff options
Diffstat (limited to 'src/maps')
| -rw-r--r-- | src/maps/mtools.h | 6 | ||||
| -rw-r--r-- | src/maps/mtools.tmpl | 5 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/maps/mtools.h b/src/maps/mtools.h index f32a49e..4ee45b8 100644 --- a/src/maps/mtools.h +++ b/src/maps/mtools.h @@ -1,7 +1,6 @@ #ifndef MTOOLS_H #define MTOOLS_H - template <class type_> struct mtools { @@ -9,7 +8,4 @@ struct mtools }; #include "mtools.tmpl" - -#endif - - +#endif diff --git a/src/maps/mtools.tmpl b/src/maps/mtools.tmpl index dd3f89e..6917131 100644 --- a/src/maps/mtools.tmpl +++ b/src/maps/mtools.tmpl @@ -3,9 +3,10 @@ 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 |
