Skip to content

Commit 463be22

Browse files
committed
include missing headers
`std::alignment_of` is in `type_traits`, `std::exception_ptr` is in <exxception> so they need to be included. Fixes a compile error with xcode when compiling in c++23.
1 parent 1372ca0 commit 463be22

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

common/sys/vector.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#include "alloc.h"
77
#include <algorithm>
8+
#include <type_traits>
89

910
namespace embree
1011
{

common/tasking/taskschedulerinternal.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "../sys/atomic.h"
1515
#include "../math/range.h"
1616

17+
#include <exception>
1718
#include <list>
1819

1920
namespace embree

0 commit comments

Comments
 (0)