diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index ecd09964b..3acd1b30f 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -42,6 +42,8 @@ */ #define IS_SINGLE(x,y) ( (*x == y) && (*(x+1) == 0) ) +#define DELETE(x) { log(DEBUG,__FILE__" ("__LINE__"): delete()"); delete x; } + template<typename T> inline std::string ConvToStr(const T &in) { std::stringstream tmp; |