summaryrefslogtreecommitdiff
path: root/external/firebird/firebird-c++14.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/firebird/firebird-c++14.patch')
-rw-r--r--external/firebird/firebird-c++14.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/external/firebird/firebird-c++14.patch b/external/firebird/firebird-c++14.patch
index ad095bf6793e..d978cef23b86 100644
--- a/external/firebird/firebird-c++14.patch
+++ b/external/firebird/firebird-c++14.patch
@@ -12,3 +12,19 @@
+{
+ Firebird::MemoryPool::globalFree(mem);
+}
+--- src/common/classes/alloc.h
++++ src/common/classes/alloc.h
+@@ -491,13 +491,6 @@
+
+ inline static MemoryPool* getDefaultMemoryPool() { return Firebird::MemoryPool::processMemoryPool; }
+
+-// Global versions of operators new and delete
+-void* operator new(size_t s) THROW_BAD_ALLOC;
+-void* operator new[](size_t s) THROW_BAD_ALLOC;
+-
+-void operator delete(void* mem) throw();
+-void operator delete[](void* mem) throw();
+-
+ #ifdef DEBUG_GDS_ALLOC
+ inline void* operator new(size_t s, Firebird::MemoryPool& pool, const char* file, int line)
+ {