Jelajahi Sumber

registry: removed superfluous ::template from type()

Michele Caini 6 tahun lalu
induk
melakukan
d2d068edff
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/entt/entity/registry.hpp

+ 1 - 1
src/entt/entity/registry.hpp

@@ -270,7 +270,7 @@ public:
      */
     template<typename Component>
     static component type() ENTT_NOEXCEPT {
-        return component{component_family::template type<std::decay_t<Component>>};
+        return component{component_family::type<std::decay_t<Component>>};
     }
 
     /**