mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-26 14:55:30 +03:00
Merge pull request #162 from z33ky/mb/vs2019-memoverride
Fix VS2019 _msize_base() exception specification
This commit is contained in:
commit
71e44f7198
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user