summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-20 14:12:09 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-20 14:12:09 +0000
commit1b388281571308ef31baf3794e1f328e15a69e89 (patch)
treee0e01c5234c8baf4444eb6322c5c9fc73f2022ec
parent51d26a574e4ce9ff91bdc2e4a74d254c4f3b7c7d (diff)
Also wrong
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7068 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--win/inspircd_memory_functions.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}