diff options
| author | 2007-05-20 14:12:09 +0000 | |
|---|---|---|
| committer | 2007-05-20 14:12:09 +0000 | |
| commit | 1b388281571308ef31baf3794e1f328e15a69e89 (patch) | |
| tree | e0e01c5234c8baf4444eb6322c5c9fc73f2022ec /win/inspircd_memory_functions.cpp | |
| parent | Wrong wrong wrong. (diff) | |
Also wrong
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7068 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'win/inspircd_memory_functions.cpp')
| -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;
}
|
