ソースを参照

process: cleanup

skypjack 3 ヶ月 前
コミット
7f397f6aa0
2 ファイル変更2 行追加2 行削除
  1. 1 1
      src/entt/process/process.hpp
  2. 1 1
      src/entt/process/scheduler.hpp

+ 1 - 1
src/entt/process/process.hpp

@@ -294,7 +294,7 @@ template<typename Delta, typename Func, typename Allocator>
 struct process_adaptor: public basic_process<Delta, Allocator> {
     using allocator_type = Allocator;
     using base_type = basic_process<Delta, Allocator>;
-    using delta_type = typename base_type::delta_type;
+    using delta_type = base_type::delta_type;
 
     process_adaptor(const allocator_type &allocator, Func proc)
         : base_type{allocator},

+ 1 - 1
src/entt/process/scheduler.hpp

@@ -36,7 +36,7 @@ template<typename Delta, typename Allocator>
 class basic_scheduler {
     using base_type = basic_process<Delta, Allocator>;
     using alloc_traits = std::allocator_traits<Allocator>;
-    using container_allocator = typename alloc_traits::template rebind_alloc<std::shared_ptr<base_type>>;
+    using container_allocator = alloc_traits::template rebind_alloc<std::shared_ptr<base_type>>;
     using container_type = std::vector<std::shared_ptr<base_type>, container_allocator>;
 
 public: