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.
This commit is contained in:
Gulfem Savrun Yeniceri 2023-03-20 20:50:03 +00:00
parent d26c233e1c
commit a25d0acaad

View File

@ -26,6 +26,7 @@
#include "spirv_cross_error_handling.hpp"
#include <algorithm>
#include <exception>
#include <functional>
#include <iterator>
#include <limits>