Ver Fonte

registry: removed superfluous ::template from type()

Michele Caini há 6 anos atrás
pai
commit
d2d068edff
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/entt/entity/registry.hpp

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

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