diff --git a/src/entt/entity/storage.hpp b/src/entt/entity/storage.hpp index 26207304f..3072b8f75 100644 --- a/src/entt/entity/storage.hpp +++ b/src/entt/entity/storage.hpp @@ -700,7 +700,10 @@ public: underlying_type::construct(entt); } - /*! @copydoc emplace */ + /** + * @copydoc emplace + * @param args Parameters to use to construct an object for the entity. + */ template [[deprecated("use ::emplace instead")]] void construct(const entity_type entt, Args &&... args) { @@ -726,7 +729,10 @@ public: underlying_type::construct(first, last); } - /*! @copydoc insert */ + /** + * @copydoc insert + * @param value An instance of the object to construct. + */ template [[deprecated("use ::insert instead")]] std::enable_if_t::value_type, entity_type>, void>