}; // end of namespace
-void* operator new (size_t size) throw (dHLT::OutOfMemory)
+void* operator new (size_t size) throw (std::bad_alloc)
{
void* memory = malloc(size);
if (memory == NULL) dHLT::ThrowOutOfMemory();
};
-void* operator new [] (size_t size) throw (dHLT::OutOfMemory)
+void* operator new [] (size_t size) throw (std::bad_alloc)
{
void* memory = malloc(size);
if (memory == NULL) dHLT::ThrowOutOfMemory();