(svn r4992) - Fix: [YAPF] error "too many arguments to function `void * operator new(unsigned int)'" on MorphOS
authorKUDr
Sat, 27 May 2006 18:52:28 +0000
changeset 3904 aaf9edb48d86
parent 3903 d6f4f6b63ffc
child 3905 b799603843f8
(svn r4992) - Fix: [YAPF] error "too many arguments to function `void * operator new(unsigned int)'" on MorphOS
yapf/binaryheap.hpp
yapf/yapf.hpp
--- a/yapf/binaryheap.hpp	Sat May 27 18:17:10 2006 +0000
+++ b/yapf/binaryheap.hpp	Sat May 27 18:52:28 2006 +0000
@@ -3,8 +3,6 @@
 #ifndef  BINARYHEAP_HPP
 #define  BINARYHEAP_HPP
 
-#include <new>
-
 //void* operator new (size_t size, void* p) {return p;}
 #if defined(_MSC_VER) && (_MSC_VER >= 1400)
 //void operator delete (void* p, void* p2) {}
--- a/yapf/yapf.hpp	Sat May 27 18:17:10 2006 +0000
+++ b/yapf/yapf.hpp	Sat May 27 18:52:28 2006 +0000
@@ -29,6 +29,7 @@
 EXTERN_C_END
 
 #include <limits.h>
+#include <new>
 
 #if defined(_WIN32) || defined(_WIN64)
 #  include <windows.h>