Browse Source

meta: removed deprecated functions

Michele Caini 6 years ago
parent
commit
1e76703144
2 changed files with 0 additions and 24 deletions
  1. 0 6
      src/entt/meta/factory.hpp
  2. 0 18
      src/entt/meta/meta.hpp

+ 0 - 6
src/entt/meta/factory.hpp

@@ -400,12 +400,6 @@ public:
         return meta_factory<Type, Type>{&node->prop};
         return meta_factory<Type, Type>{&node->prop};
     }
     }
 
 
-    /*! @copydoc alias */
-    [[deprecated("Use ::alias instead")]]
-    auto type(const ENTT_ID_TYPE value) ENTT_NOEXCEPT {
-        return alias(value);
-    }
-
     /**
     /**
      * @brief Assigns a meta base to a meta type.
      * @brief Assigns a meta base to a meta type.
      *
      *

+ 0 - 18
src/entt/meta/meta.hpp

@@ -874,12 +874,6 @@ struct meta_data {
         return node->alias;
         return node->alias;
     }
     }
 
 
-    /*! @copydoc alias*/
-    [[deprecated("Use ::alias instead")]]
-    ENTT_ID_TYPE identifier() const ENTT_NOEXCEPT {
-        return alias();
-    }
-
     /*! @copydoc meta_base::parent */
     /*! @copydoc meta_base::parent */
     inline meta_type parent() const ENTT_NOEXCEPT;
     inline meta_type parent() const ENTT_NOEXCEPT;
 
 
@@ -1020,12 +1014,6 @@ struct meta_func {
         return node->alias;
         return node->alias;
     }
     }
 
 
-    /*! @copydoc alias */
-    [[deprecated("Use ::alias instead")]]
-    ENTT_ID_TYPE identifier() const ENTT_NOEXCEPT {
-        return alias();
-    }
-
     /*! @copydoc meta_base::parent */
     /*! @copydoc meta_base::parent */
     inline meta_type parent() const ENTT_NOEXCEPT;
     inline meta_type parent() const ENTT_NOEXCEPT;
 
 
@@ -1160,12 +1148,6 @@ public:
         return node->alias;
         return node->alias;
     }
     }
 
 
-    /*! @copydoc alias */
-    [[deprecated("Use ::alias instead")]]
-    ENTT_ID_TYPE identifier() const ENTT_NOEXCEPT {
-        return alias();
-    }
-
     /**
     /**
      * @brief Indicates whether a given meta type refers to void or not.
      * @brief Indicates whether a given meta type refers to void or not.
      * @return True if the underlying type is void, false otherwise.
      * @return True if the underlying type is void, false otherwise.