remove SOE deprecated code and files - leaving in the #if 0 blocks with TODO and other possible uses for later

This commit is contained in:
DarthArgus
2016-03-24 21:07:31 +00:00
parent f275628817
commit 3b430656ba
58 changed files with 7 additions and 2481 deletions
@@ -43,9 +43,6 @@ voidpf ZlibCompressorNamespace::allocateWrapper(voidpf opaque, uInt items, uInt
UNREF(opaque);
void *result = 0;
#if 0
result = operator new(items * size);
#else
int totalSize = items * size;
if (totalSize > cms_poolElementThreshold)
{
@@ -67,7 +64,6 @@ voidpf ZlibCompressorNamespace::allocateWrapper(voidpf opaque, uInt items, uInt
ms_mutex.leave();
}
#endif
return result;
}
@@ -78,9 +74,6 @@ void ZlibCompressorNamespace::freeWrapper(voidpf opaque, voidpf address)
{
UNREF(opaque);
#if 0
operator delete(address);
#else
if (address < ms_memoryBottom || address >= ms_memoryTop)
operator delete(address);
else
@@ -89,7 +82,6 @@ void ZlibCompressorNamespace::freeWrapper(voidpf opaque, voidpf address)
ms_memoryPool.push_back(address);
ms_mutex.leave();
}
#endif
}
// ======================================================================