瀏覽代碼

Added include <type_traits> for std::is_trivial (#1779)

Fixes #1777
Jorrit Rouwe 2 月之前
父節點
當前提交
ccfe0a0dfe
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Jolt/Core/Core.h

+ 1 - 0
Jolt/Core/Core.h

@@ -453,6 +453,7 @@ JPH_SUPPRESS_WARNINGS_STD_BEGIN
 #include <functional>
 #include <algorithm>
 #include <cstdint>
+#include <type_traits>
 #if defined(JPH_COMPILER_MSVC) || (defined(JPH_COMPILER_CLANG) && defined(_MSC_VER)) // MSVC or clang-cl
 	#include <malloc.h> // for alloca
 #endif