Merge pull request #162 from z33ky/mb/vs2019-memoverride

Fix VS2019 _msize_base() exception specification
This commit is contained in:
Blixibon 2021-11-15 23:38:58 -06:00 committed by GitHub
commit 71e44f7198
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -282,6 +282,9 @@ ALLOC_CALL void * __cdecl _recalloc ( void * memblock, size_t count, size_t size
} }
size_t _msize_base( void *pMem ) size_t _msize_base( void *pMem )
#if _MSC_VER >= 1925 //VS2019+
throw()
#endif
{ {
return g_pMemAlloc->GetSize(pMem); return g_pMemAlloc->GetSize(pMem);
} }