Browse Source

meta: strip deprecated ctor from meta_handle (breaking change)

skypjack 5 months ago
parent
commit
14be4141fa
1 changed files with 0 additions and 17 deletions
  1. 0 17
      src/entt/meta/meta.hpp

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

@@ -666,14 +666,6 @@ public:
     /*! @brief Empty constructor. */
     /*! @brief Empty constructor. */
     meta_handle(std::nullptr_t) {} 
     meta_handle(std::nullptr_t) {} 
 
 
-    /**
-     * @brief Context aware constructor.
-     * @param area The context from which to search for meta types.
-     */
-    [[deprecated("not necessary, use direct contructors instead")]]
-    meta_handle(meta_ctx_arg_t, const meta_ctx &area)
-        : any{meta_ctx_arg, area} {}
-
     /**
     /**
      * @brief Creates a handle that points to an unmanaged object.
      * @brief Creates a handle that points to an unmanaged object.
      * @tparam Type Type of object to use to initialize the handle.
      * @tparam Type Type of object to use to initialize the handle.
@@ -693,15 +685,6 @@ public:
     meta_handle(Type &value)
     meta_handle(Type &value)
         : meta_handle{0, locator<meta_ctx>::value_or(), value} {}
         : meta_handle{0, locator<meta_ctx>::value_or(), value} {}
 
 
-    /**
-     * @brief Context aware copy constructor.
-     * @param area The context from which to search for meta types.
-     * @param other The instance to copy from.
-     */
-    [[deprecated("copying meta handles is not allowed")]]
-    meta_handle(const meta_ctx &area, const meta_handle &other)
-        : any{area, other.any} {}
-
     /**
     /**
      * @brief Context aware move constructor.
      * @brief Context aware move constructor.
      * @param area The context from which to search for meta types.
      * @param area The context from which to search for meta types.