Skip to content

Commit

Permalink
Merge pull request mapbase-source#162 from z33ky/mb/vs2019-memoverride
Browse files Browse the repository at this point in the history
Fix VS2019 _msize_base() exception specification
  • Loading branch information
Blixibon authored Nov 16, 2021
2 parents f885dc1 + 19290ae commit da2e7f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sp/src/public/tier0/memoverride.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,9 @@ ALLOC_CALL void * __cdecl _recalloc ( void * memblock, size_t count, size_t size
}

size_t _msize_base( void *pMem )
#if _MSC_VER >= 1925 //VS2019+
throw()
#endif
{
return g_pMemAlloc->GetSize(pMem);
}
Expand Down

0 comments on commit da2e7f5

Please sign in to comment.