diff --git a/MobileGL/Includes.h b/MobileGL/Includes.h index d3703e4e..5692d139 100644 --- a/MobileGL/Includes.h +++ b/MobileGL/Includes.h @@ -33,6 +33,9 @@ #include #include +// Include FastSTL +#include + // Include ankerl::unordered_dense #include diff --git a/MobileGL/MG_Util/Types.h b/MobileGL/MG_Util/Types.h index e97a1233..26744f40 100644 --- a/MobileGL/MG_Util/Types.h +++ b/MobileGL/MG_Util/Types.h @@ -45,8 +45,9 @@ namespace MobileGL { using SizeT = std::size_t; template using Array = std::array; - template - using UnorderedMap = ankerl::unordered_dense::map; + template , class KeyEqual = std::equal_to, + class Allocator = std::allocator>> + using UnorderedMap = FastSTL::unordered_map; template inline constexpr std::remove_reference_t&& Move(T&& t) noexcept { return static_cast&&>(t);