Skip to content

Commit fbe5262

Browse files
committed
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 cb3ad55 commit fbe5262

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
@@ -32,6 +32,7 @@
3232

3333
#include <cstddef>
3434
#include <cstdint>
35+
#include <type_traits>
3536
#include <utility>
3637

3738
namespace godot {

0 commit comments

Comments
 (0)