diff --git a/src/entt/meta/factory.hpp b/src/entt/meta/factory.hpp index 246a1a722..9b8bde0ba 100644 --- a/src/entt/meta/factory.hpp +++ b/src/entt/meta/factory.hpp @@ -98,21 +98,6 @@ protected: } } - [[deprecated("use ::custom() instead")]] void prop(meta_prop_node node) { - std::vector *container = nullptr; - - if(bucket == parent) { - container = &details->prop; - } else if(invoke == nullptr) { - container = &find_member_or_assert()->prop; - } else { - container = &find_overload_or_assert()->prop; - } - - auto *member = find_member<&meta_prop_node::id>(*container, node.id); - (member != nullptr) ? (*member = std::move(node)) : container->emplace_back(std::move(node)); - } - void traits(const meta_traits value) { if(bucket == parent) { meta_context::from(*ctx).value[bucket].traits |= value; @@ -487,27 +472,6 @@ public: return *this; } - /** - * @brief Assigns a property to the last created meta object. - * - * Both the key and the value (if any) must be at least copy constructible. - * - * @tparam Value Optional type of the property value. - * @param id Property key. - * @param value Optional property value. - * @return A meta factory for the parent type. - */ - template - [[deprecated("use ::custom() instead")]] meta_factory prop(id_type id, [[maybe_unused]] Value &&...value) { - if constexpr(sizeof...(Value) == 0u) { - base_type::prop(internal::meta_prop_node{id, &internal::resolve}); - } else { - base_type::prop(internal::meta_prop_node{id, &internal::resolve>..., std::make_shared>(std::forward(value))...}); - } - - return *this; - } - /** * @brief Sets traits on the last created meta object. *