Browse Source

meta_factory: type -> element_type to avoid collisions

Michele Caini 11 months ago
parent
commit
9d6850636a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/entt/meta/factory.hpp

+ 2 - 2
src/entt/meta/factory.hpp

@@ -151,8 +151,8 @@ class meta_factory: private internal::basic_meta_factory {
     using base_type = internal::basic_meta_factory;
     using base_type = internal::basic_meta_factory;
 
 
 public:
 public:
-    /*! @brief Underlying type of the factory. */
-    using type = Type;
+    /*! @brief Type of object for which this factory builds a meta type. */
+    using element_type = Type;
 
 
     /*! @brief Default constructor. */
     /*! @brief Default constructor. */
     meta_factory() noexcept
     meta_factory() noexcept