From 5cbde3008aa43a9c5f6c219ee15b8388336d4433 Mon Sep 17 00:00:00 2001 From: Anna Gringauze Date: Wed, 2 May 2018 16:19:37 -0700 Subject: [PATCH] make terminate_handler __cdecl (#673) --- include/gsl/gsl_assert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {