This commit is contained in:
Michele Caini
2017-05-22 22:07:41 +02:00
parent a562e2d4b9
commit 416286b9b8
2 changed files with 5 additions and 1 deletions

View File

@@ -106,7 +106,7 @@ endif(${GOOGLETEST_FOUND})
file(
GLOB_RECURSE PROJECT_FILES FOLLOW_SYMLINKS
*.txt *.c *.cpp *.hpp *.h *.in *.cmake *.sh *.md AUTHORS LICENSE
*.txt *.c *.cpp *.hpp *.h *.in *.cmake *.sh *.md *.yml *.bat AUTHORS LICENSE
)
add_custom_target(

View File

@@ -125,7 +125,11 @@ public:
using entity_type = typename Pool<Component>::entity_type;
explicit ComponentPool(size_type dim = 4098) noexcept
#ifdef WIN32
: pools(Pool<Component>{dim}, Pool<Components>{dim}...)
#else
: pools{Pool<Component>{dim}, Pool<Components>{dim}...}
#endif
{
assert(!(dim < 0));
}