From 1b388281571308ef31baf3794e1f328e15a69e89 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 20 May 2007 14:12:09 +0000 Subject: Also wrong git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7068 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/inspircd_memory_functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win') diff --git a/win/inspircd_memory_functions.cpp b/win/inspircd_memory_functions.cpp index 691b1da6a..b604b02e3 100644 --- a/win/inspircd_memory_functions.cpp +++ b/win/inspircd_memory_functions.cpp @@ -8,7 +8,7 @@ void * ::operator new(size_t iSize) /* This is the correct behaviour according to C++ standards for out of memory, * not returning null -- Brain*/ if (!ptr) - throw std::bad_alloc; + throw std::bad_alloc(); else return ptr; } -- cgit v1.2.3