Skip to content

Commit

Permalink
Add missing <exception> include
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gulfemsavrun committed Mar 20, 2023
1 parent d26c233 commit a25d0ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spirv_cross_containers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#include "spirv_cross_error_handling.hpp"
#include <algorithm>
#include <exception>
#include <functional>
#include <iterator>
#include <limits>
Expand Down

0 comments on commit a25d0ac

Please sign in to comment.