]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Make DELETE inline so its about as fast as the define it replaced
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 18 Aug 2006 23:27:24 +0000 (23:27 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 18 Aug 2006 23:27:24 +0000 (23:27 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4975 e03df62e-2008-0410-955e-edbf42e46eb7

include/inspircd.h

index f01305b4422bc4949b3fd35bc92f2d328d770e9e..befe07515eb984e087066bcd4a5c6a414b37b825 100644 (file)
@@ -59,7 +59,7 @@ enum DebugLevel
 
 /** Delete a pointer, and NULL its value
  */
-template<typename T> void DELETE(T* x)
+template<typename T> inline void DELETE(T* x)
 {
        delete x;
        x = NULL;