From 4fdf2dccd4b2a71e1e9a2aed5eb9e8cd360db543 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Fri, 17 Mar 2023 16:14:26 +0100 Subject: [PATCH] group: update doc --- src/entt/entity/group.hpp | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/src/entt/entity/group.hpp b/src/entt/entity/group.hpp index f98d99549..f082a0687 100644 --- a/src/entt/entity/group.hpp +++ b/src/entt/entity/group.hpp @@ -490,13 +490,9 @@ public: /** * @brief Returns the components assigned to the given entity. * - * Prefer this function instead of `registry::get` during iterations. It has - * far better performance than its counterpart. - * * @warning - * Attempting to use an invalid component type results in a compilation - * error. Attempting to use an entity that doesn't belong to the group - * results in undefined behavior. + * Attempting to use an entity that doesn't belong to the group results in + * undefined behavior. * * @tparam Type Types of components to get. * @param entt A valid identifier. @@ -883,13 +879,9 @@ public: /** * @brief Returns the components assigned to the given entity. * - * Prefer this function instead of `registry::get` during iterations. It has - * far better performance than its counterpart. - * * @warning - * Attempting to use an invalid component type results in a compilation - * error. Attempting to use an entity that doesn't belong to the group - * results in undefined behavior. + * Attempting to use an entity that doesn't belong to the group results in + * undefined behavior. * * @tparam Type Types of components to get. * @param entt A valid identifier.