Skip to content

Commit fb49e91

Browse files
committed
[VCRUNTIME] Fix eh.h
1 parent b75d476 commit fb49e91

File tree

1 file changed

+2
-2
lines changed
  • sdk/include/vcruntime

1 file changed

+2
-2
lines changed

sdk/include/vcruntime/eh.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ typedef void (__cdecl *unexpected_handler)(void);
2424
struct _EXCEPTION_POINTERS;
2525
typedef void (__cdecl *_se_translator_function)(unsigned int,struct _EXCEPTION_POINTERS *);
2626

27-
_CRTIMP __declspec(noreturn) void __cdecl terminate(void);
27+
_CRTIMP __declspec(noreturn) void __cdecl terminate(void) throw();
2828
_CRTIMP void __cdecl unexpected(void);
2929
_CRTIMP int __cdecl _is_exception_typeof(const type_info &_Type,struct _EXCEPTION_POINTERS *_ExceptionPtr);
30-
_CRTIMP terminate_function __cdecl set_terminate(terminate_function _NewPtFunc);
30+
_CRTIMP terminate_function __cdecl set_terminate(terminate_function _NewPtFunc) throw();
3131
extern "C" _CRTIMP terminate_function __cdecl _get_terminate(void);
3232
_CRTIMP unexpected_function __cdecl set_unexpected(unexpected_function _NewPtFunc);
3333
extern "C" _CRTIMP unexpected_function __cdecl _get_unexpected(void);

0 commit comments

Comments
 (0)