Skip to content

Commit fd480fa

Browse files
authored
fix: missing type_traits include
Usage of `std::is_trivially_constructible` in `defs.hpp` requires including `type_traits`. This missing include leads to errors about that type not being found when building with clang++-22 with libc++-22.
1 parent 4f80491 commit fd480fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/godot_cpp/core/defs.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
#include <cstddef>
3434
#include <cstdint>
3535
#include <utility>
36+
#include <type_traits>
3637

3738
namespace godot {
3839

0 commit comments

Comments
 (0)