diff --git a/include/gsl/gsl_assert b/include/gsl/gsl_assert index 3f5746a..131fa8b 100644 --- a/include/gsl/gsl_assert +++ b/include/gsl/gsl_assert @@ -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 {