Jelajahi Sumber

resource: cleanup

skypjack 3 bulan lalu
induk
melakukan
f76191d27c
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/entt/resource/cache.hpp

+ 1 - 1
src/entt/resource/cache.hpp

@@ -153,7 +153,7 @@ template<typename Type, typename Loader, typename Allocator>
 class resource_cache {
     using alloc_traits = std::allocator_traits<Allocator>;
     static_assert(std::is_same_v<typename alloc_traits::value_type, Type>, "Invalid value type");
-    using container_allocator = typename alloc_traits::template rebind_alloc<std::pair<const id_type, typename Loader::result_type>>;
+    using container_allocator = alloc_traits::template rebind_alloc<std::pair<const id_type, typename Loader::result_type>>;
     using container_type = dense_map<id_type, typename Loader::result_type, identity, std::equal_to<>, container_allocator>;
 
 public: