diff options
-rw-r--r-- | win/inspircd_memory_functions.cpp | 2 |
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;
}
|