summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2017-09-24 17:34:52 +0100
committer Vas Crabb <vas@vastheman.com>2017-09-25 13:48:40 +1000
commit32857b2f4996ffaef8b328e6df16cf068d516b83 (patch)
tree4734027385aaefcaf1631c0e1cb3e325295de8d7
parentdc66d78e8c7987db18d39408c8715ca4cc5c3d43 (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.h2
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>