diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-18 23:27:24 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-18 23:27:24 +0000 |
commit | 2ed8e1820f9e28b6ecbb49c4b87ceeec26e68a10 (patch) | |
tree | 2176bd428bd434a808f8b3201c18c560f43c193d /include | |
parent | c2bc7f1636f1b923e8c6795dd4311bde0e7bcf55 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<typename T> void DELETE(T* x) +template<typename T> inline void DELETE(T* x) { delete x; x = NULL; |