mirror of
https://gitlab.com/rnger/amath
synced 2026-10-21 04:59:34 +00:00
Fix method signature
This commit is contained in:
+2
-2
@@ -163,11 +163,11 @@ inline void operator delete[] (void* ptr) {
|
||||
#ifdef __cplusplus
|
||||
#if (__GNUC__ > 2) || defined (_WIN32)
|
||||
#include <new>
|
||||
inline void* operator new (size_t size) throw() {
|
||||
inline void* operator new (size_t size) throw(std::bad_alloc) {
|
||||
return AllocMemSafe(size);
|
||||
}
|
||||
|
||||
inline void* operator new[] (size_t size) throw() {
|
||||
inline void* operator new[] (size_t size) throw(std::bad_alloc) {
|
||||
return AllocMemSafe(size);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user