Explorar o código

storage: minor changes

Michele Caini %!s(int64=3) %!d(string=hai) anos
pai
achega
05ef4c29d8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/entt/entity/storage.hpp

+ 1 - 1
src/entt/entity/storage.hpp

@@ -475,7 +475,7 @@ public:
      * @return The associated allocator.
      */
     [[nodiscard]] constexpr allocator_type get_allocator() const noexcept {
-        return allocator_type{packed.second()};
+        return packed.second();
     }
 
     /**