mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
make terminate_handler __cdecl (#673)
This commit is contained in:
parent
d6b26b367b
commit
5cbde3008a
@ -81,7 +81,7 @@ namespace details
|
|||||||
{
|
{
|
||||||
#if defined(GSL_MSVC_USE_STL_NOEXCEPTION_WORKAROUND)
|
#if defined(GSL_MSVC_USE_STL_NOEXCEPTION_WORKAROUND)
|
||||||
|
|
||||||
typedef void (*terminate_handler)();
|
typedef void (__cdecl *terminate_handler)();
|
||||||
|
|
||||||
inline gsl::details::terminate_handler& get_terminate_handler() noexcept
|
inline gsl::details::terminate_handler& get_terminate_handler() noexcept
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user