Browse Source

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

Fixes #1777
Jorrit Rouwe 5 days ago
parent
commit
ccfe0a0dfe
1 changed files with 1 additions and 0 deletions
  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