From 23a73fcb7c3db9009293ec2e84ededdc81dba9d6 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Wed, 11 Mar 2020 15:36:14 +0100 Subject: [PATCH] doc: suppressed some warnings due to missing parameters --- src/entt/entity/storage.hpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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>