fix noexcept for new crt
This commit is contained in:
parent
9a095d6b4b
commit
91df08ed0f
@ -145,6 +145,11 @@ inline void *ReallocUnattributed( void *pMem, size_t nSize )
|
|||||||
#define FREE_CALL
|
#define FREE_CALL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// check for noexcept in crt
|
||||||
|
#ifndef _CRT_NOEXCEPT
|
||||||
|
#define _CRT_NOEXCEPT
|
||||||
|
#endif
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -255,7 +260,7 @@ ALLOC_CALL void * __cdecl _recalloc ( void * memblock, size_t count, size_t size
|
|||||||
return pMem;
|
return pMem;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t _msize_base( void *pMem )
|
size_t _msize_base( void *pMem ) _CRT_NOEXCEPT
|
||||||
{
|
{
|
||||||
return g_pMemAlloc->GetSize(pMem);
|
return g_pMemAlloc->GetSize(pMem);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user