Merge branch 'master' into testing

This commit is contained in:
mwells 2013-10-13 00:20:37 -07:00
commit d4b5c37f45

View File

@ -323,7 +323,7 @@ void * operator new [] (size_t size) throw (std::bad_alloc) {
if ( g_mem.m_used + size >= g_mem.m_maxMem &&
g_mem.m_maxMem > 1000000 ) {
log("mem: new(%i): Out of memory.", size );
throw bad_alloc();
throw std::bad_alloc();
//throw 1;
}
#ifdef _EFENCE_