Browse Source

group: minor changes (linter)

Michele Caini 1 year ago
parent
commit
47d71fa6cf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/entt/entity/group.hpp

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

@@ -49,9 +49,9 @@ public:
         : it{},
         : it{},
           pools{} {}
           pools{} {}
 
 
-    extended_group_iterator(iterator_type from, const std::tuple<Owned *..., Get *...> &cpools)
+    extended_group_iterator(iterator_type from, std::tuple<Owned *..., Get *...> cpools)
         : it{from},
         : it{from},
-          pools{cpools} {}
+          pools{std::move(cpools)} {}
 
 
     extended_group_iterator &operator++() noexcept {
     extended_group_iterator &operator++() noexcept {
         return ++it, *this;
         return ++it, *this;