Browse Source

Removed final specifier from all class templates

Fabian Loeschner 8 years ago
parent
commit
a64e7d8230
2 changed files with 5 additions and 5 deletions
  1. 2 2
      src/component_pool.hpp
  2. 3 3
      src/registry.hpp

+ 2 - 2
src/component_pool.hpp

@@ -20,7 +20,7 @@ class ComponentPool;
 
 
 template<typename Entity, typename Component>
-class ComponentPool<Entity, Component> final {
+class ComponentPool<Entity, Component> {
 public:
     using component_type = Component;
     using size_type = std::uint32_t;
@@ -116,7 +116,7 @@ private:
 
 
 template<typename Entity, typename Component, typename... Components>
-class ComponentPool final {
+class ComponentPool {
     template<typename Comp>
     using Pool = ComponentPool<Entity, Comp>;
 

+ 3 - 3
src/registry.hpp

@@ -20,7 +20,7 @@ class View;
 
 
 template<template<typename...> class Pool, typename Entity, typename... Components, typename Type, typename... Types>
-class View<Pool<Entity, Components...>, Type, Types...> final {
+class View<Pool<Entity, Components...>, Type, Types...> {
     using pool_type = Pool<Entity, Components...>;
     using entity_type = typename pool_type::entity_type;
 
@@ -122,7 +122,7 @@ private:
 
 
 template<template<typename...> class Pool, typename Entity, typename... Components, typename Type>
-class View<Pool<Entity, Components...>, Type> final {
+class View<Pool<Entity, Components...>, Type> {
     using pool_type = Pool<Entity, Components...>;
     using entity_type = typename pool_type::entity_type;
 
@@ -192,7 +192,7 @@ class Registry;
 
 
 template<template<typename...> class Pool, typename Entity, typename... Components>
-class Registry<Pool<Entity, Components...>> final {
+class Registry<Pool<Entity, Components...>> {
     using pool_type = Pool<Entity, Components...>;
 
 public: