We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f9259b8 + 3389b95 commit 29ab532Copy full SHA for 29ab532
gameplay/src/DebugNew.h
@@ -20,8 +20,10 @@ extern void printMemoryLeaks();
20
#endif
21
void* operator new (std::size_t size, const char* file, int line);
22
void* operator new[] (std::size_t size, const char* file, int line);
23
+#ifdef WIN32
24
void* operator new (std::size_t size) throw(std::bad_alloc);
25
void* operator new[] (std::size_t size) throw(std::bad_alloc);
26
+#endif
27
void* operator new (std::size_t size, const std::nothrow_t&) throw();
28
void* operator new[] (std::size_t size, const std::nothrow_t&) throw();
29
void operator delete (void* p) throw();
0 commit comments