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