mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-27 07:15:31 +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