diff options
| author | 2016-09-16 14:46:24 +0100 | |
|---|---|---|
| committer | 2016-09-17 00:10:07 +0100 | |
| commit | 31eed6d49f62736e30ff933ac66d87ed6d960a52 (patch) | |
| tree | b100ae11832ec394314b058dafc4c46e07fb1ce0 /3rdparty | |
| parent | 3928db3a23d897bac9bf58d07b82a2217da0572d (diff) | |
hack for clang compiling on windows, as it can't tell that calling ::RaiseException will prevent the function from returning. (nw)
Diffstat (limited to '3rdparty')
| -rw-r--r-- | 3rdparty/compat/winsdk-override/wrl/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/3rdparty/compat/winsdk-override/wrl/internal.h b/3rdparty/compat/winsdk-override/wrl/internal.h index 715ef74e331..e2dad542cc3 100644 --- a/3rdparty/compat/winsdk-override/wrl/internal.h +++ b/3rdparty/compat/winsdk-override/wrl/internal.h @@ -20,6 +20,7 @@ namespace Microsoft { inline void DECLSPEC_NORETURN RaiseException(HRESULT hr, DWORD flags = EXCEPTION_NONCONTINUABLE) throw() { ::RaiseException(static_cast<DWORD>(hr), flags, 0, NULL); + throw std::exception(); } template <bool b, typename T = void> |
