8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 14:03:07 +01:00

Merge pull request #18 from mkubecek/mk/4.0/gcc6

mk/4.0/gcc6
This commit is contained in:
Dmitry Yemanov 2016-05-06 11:37:26 +03:00
commit a5fcb82173
2 changed files with 15 additions and 5 deletions

View File

@ -331,6 +331,16 @@ inline void operator delete[](void* mem, Firebird::MemoryPool& pool ALLOC_PARAMS
MemoryPool::globalFree(mem);
}
#if __cplusplus >= 201402L
inline void operator delete(void* mem, std::size_t s ALLOC_PARAMS) throw()
{
MemoryPool::globalFree(mem);
}
inline void operator delete[](void* mem, std::size_t s ALLOC_PARAMS) throw()
{
MemoryPool::globalFree(mem);
}
#endif
#ifdef DEBUG_GDS_ALLOC
#ifdef __clang__