Browse Source

registry: removed superfluous ::template from unset()

Michele Caini 6 years ago
parent
commit
748777b8eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/entt/entity/registry.hpp

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

@@ -1641,7 +1641,7 @@ public:
      */
     template<typename Type>
     void unset() {
-        if(const auto vtype = context_family::template type<std::decay_t<Type>>; vtype < vars.size()) {
+        if(const auto vtype = context_family::type<std::decay_t<Type>>; vtype < vars.size()) {
             vars[vtype].reset();
         }
     }