Michele Caini před 8 roky
rodič
revize
416286b9b8
2 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. 1 1
      CMakeLists.txt
  2. 4 0
      src/component_pool.hpp

+ 1 - 1
CMakeLists.txt

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

+ 4 - 0
src/component_pool.hpp

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