Michele Caini 6 rokov pred
rodič
commit
8519fe57ae
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      src/entt/entity/registry.hpp

+ 2 - 1
src/entt/entity/registry.hpp

@@ -1375,7 +1375,8 @@ public:
                         (void)this;
                     } else {
                         const auto pos = curr->owned++;
-                        (swap<Owned>(0, std::get<pool_type<Owned> *>(cpools), entity, pos), ...);
+                        // useless this-> used to suppress a warning with clang
+                        (this->swap<Owned>(0, std::get<pool_type<Owned> *>(cpools), entity, pos), ...);
                     }
                 }
             });