From 16e48aa10f054c4819e0cc63685636188e86ad70 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Tue, 17 May 2022 12:14:07 +0200 Subject: [PATCH] storage_type_t: simplify the definition to make it work with default template arguments for storage_type --- src/entt/entity/storage.hpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/entt/entity/storage.hpp b/src/entt/entity/storage.hpp index 66fabc1c5..20a63c7f2 100644 --- a/src/entt/entity/storage.hpp +++ b/src/entt/entity/storage.hpp @@ -899,7 +899,7 @@ public: }; /** - * @brief Provides a common way to access certain properties of storage types. + * @brief Provides a common way to define storage types. * @tparam Type Storage value type. * @tparam Entity A valid entity type (see entt_traits for more details). */ @@ -911,11 +911,10 @@ struct storage_type { /** * @brief Helper type. - * @tparam Type Storage value type. - * @tparam Entity A valid entity type (see entt_traits for more details). + * @tparam Args Arguments to forward. */ -template -using storage_type_t = typename storage_type::type; +template +using storage_type_t = typename storage_type::type; } // namespace entt