From: brain Date: Fri, 18 Aug 2006 23:27:24 +0000 (+0000) Subject: Make DELETE inline so its about as fast as the define it replaced X-Git-Tag: v2.0.23~7346 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=2ed8e1820f9e28b6ecbb49c4b87ceeec26e68a10;p=user%2Fhenk%2Fcode%2Finspircd.git 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 --- 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;