make terminate_handler __cdecl (#673)

This commit is contained in:
Anna Gringauze 2018-05-02 16:19:37 -07:00 committed by GitHub
parent d6b26b367b
commit 5cbde3008a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ namespace details
{
#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
{