Removed final specifier from all class templates

This commit is contained in:
Fabian Loeschner
2017-05-27 18:30:38 +02:00
parent d4f3f7b9e7
commit a64e7d8230
2 changed files with 5 additions and 5 deletions

View File

@@ -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>;

View File

@@ -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: