commit | a4fc1af547425c0b284ff8f900984f2c70d18b7f | [log] [tgz] |
---|---|---|
author | Gulfem Savrun Yeniceri <gulfem@google.com> | Mon Mar 20 17:26:57 2023 +0000 |
committer | Gulfem Savrun Yeniceri <gulfem@google.com> | Mon Mar 20 18:44:29 2023 +0000 |
tree | 820377406ab539c26bab38365ecfaed0e7d692d7 | |
parent | a1d60acf6dde5d5701504fe84c2a6944e11c9059 [diff] |
Add missing <exception> include https://reviews.llvm.org/D146097 removed the transitive include for <exception>, which caused the following issue: In file included from ../../third_party/spirv-cross/spirv_common.hpp:28: ../../third_party/spirv-cross/spirv_cross_containers.hpp:334:9: error: no member named 'terminate' in namespace 'std This patch adds the missing include to fix the issue. Bug: 123939 Change-Id: Ie2e4aa32ac5df6acb80d8283676792bb39c8c88a Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/spirv-cross/+/821947 Reviewed-by: Josh Gargus <jjosh@google.com>
diff --git a/spirv_cross_containers.hpp b/spirv_cross_containers.hpp index 506b069..9fc2a80 100644 --- a/spirv_cross_containers.hpp +++ b/spirv_cross_containers.hpp
@@ -26,6 +26,7 @@ #include "spirv_cross_error_handling.hpp" #include <algorithm> +#include <exception> #include <functional> #include <iterator> #include <limits>