From 2ed8e1820f9e28b6ecbb49c4b87ceeec26e68a10 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 18 Aug 2006 23:27:24 +0000 Subject: [PATCH] Make DELETE inline so its about as fast as the define it replaced git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4975 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/inspircd.h b/include/inspircd.h index f01305b44..befe07515 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -59,7 +59,7 @@ enum DebugLevel /** Delete a pointer, and NULL its value */ -template void DELETE(T* x) +template inline void DELETE(T* x) { delete x; x = NULL; -- 2.39.5