浏览代码

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.
Klaim (Joël Lamotte) 1 月之前
父节点
当前提交
fbe5262d7b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/godot_cpp/core/defs.hpp

+ 1 - 0
include/godot_cpp/core/defs.hpp

@@ -32,6 +32,7 @@
 
 
 #include <cstddef>
 #include <cstddef>
 #include <cstdint>
 #include <cstdint>
+#include <type_traits>
 #include <utility>
 #include <utility>
 
 
 namespace godot {
 namespace godot {