Преглед изворни кода

group: make them easily copyable/movable

Michele Caini пре 3 година
родитељ
комит
54270b1038
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      src/entt/entity/group.hpp

+ 4 - 4
src/entt/entity/group.hpp

@@ -485,8 +485,8 @@ public:
     }
 
 private:
-    base_type *const handler;
-    const std::tuple<Get *...> pools;
+    base_type *handler;
+    std::tuple<Get *...> pools;
 };
 
 /**
@@ -843,8 +843,8 @@ public:
     }
 
 private:
-    const std::tuple<Owned *..., Get *...> pools;
-    const size_type *const length;
+    std::tuple<Owned *..., Get *...> pools;
+    const size_type *length;
 };
 
 } // namespace entt