diff options
author | smf- <smf-@users.noreply.github.com> | 2017-09-24 17:34:52 +0100 |
---|---|---|
committer | smf- <smf-@users.noreply.github.com> | 2017-09-24 17:49:36 +0100 |
commit | 20d1c78b615c2e7082b18b46e2de755be31cb0a9 (patch) | |
tree | d87d4af487b3d0deb0b0f6d9c61672f6562dd6db | |
parent | bcb4be3a5d00b3407874d580c962a964f77cbe52 (diff) |
Changed the clang workround for ../../../../../3rdparty/compat/winsdk-override\wrl/internal.h:23:13: error: function declared 'noreturn' should not return [-Werror,-Winvalid-noreturn] to work with clang 5.0 (nw)
-rw-r--r-- | 3rdparty/compat/winsdk-override/wrl/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/compat/winsdk-override/wrl/internal.h b/3rdparty/compat/winsdk-override/wrl/internal.h index e2dad542cc3..da989d189db 100644 --- a/3rdparty/compat/winsdk-override/wrl/internal.h +++ b/3rdparty/compat/winsdk-override/wrl/internal.h @@ -20,7 +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(); + std::abort(); } template <bool b, typename T = void> |