Przeglądaj źródła

storage: minor changes

Michele Caini 3 lat temu
rodzic
commit
05ef4c29d8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/entt/entity/storage.hpp

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

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