From b3c0d91eb30e302f2fee909e35a72defcd3a03fb Mon Sep 17 00:00:00 2001 From: skypjack Date: Tue, 25 Jul 2023 09:57:03 +0200 Subject: [PATCH] meta: drop redundant assert --- src/entt/meta/meta.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/entt/meta/meta.hpp b/src/entt/meta/meta.hpp index 792c89ebf..811365055 100644 --- a/src/entt/meta/meta.hpp +++ b/src/entt/meta/meta.hpp @@ -1644,7 +1644,6 @@ bool meta_any::set(const id_type id, Type &&value) { if(node.conversion_helper && (type.is_arithmetic() || type.is_enum())) { // exploits the fact that arithmetic types and enums are also default constructible auto other = type.construct(); - ENTT_ASSERT(other.node.conversion_helper, "Conversion helper not found"); const auto value = node.conversion_helper(nullptr, data()); other.node.conversion_helper(other.data(), &value); return other;