From d3982ec72b255876db00825605d1d5aae0bc313e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:43 +0200 Subject: tagging ychat-0.7.7.1 --- src/maps/mtools.h | 6 +----- src/maps/mtools.tmpl | 5 +++-- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'src/maps') 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 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 void -mtools::delete_obj( type_ type_obj ) { +mtools::delete_obj( type_ type_obj ) +{ if ( type_obj ) - delete type_obj; + delete type_obj; } #endif -- cgit v1.2.3