Skip to content

Commit 24c1b8b

Browse files
committed
vector: include missing header
`std::alignment_of` is in `type_traits`, so it needs to be included. Fixes a compile error with xcode when compiling in c++23.
1 parent 1372ca0 commit 24c1b8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-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
{

0 commit comments

Comments
 (0)