diff --git a/src/entt/meta/utility.hpp b/src/entt/meta/utility.hpp index 5543da808..3030ce1cb 100644 --- a/src/entt/meta/utility.hpp +++ b/src/entt/meta/utility.hpp @@ -124,19 +124,19 @@ struct meta_function_descriptor template class meta_function_helper { template - static constexpr meta_function_descriptor get_rid_of_noexcept(Ret (Class::*)(Args...) const); + static consteval meta_function_descriptor get_rid_of_noexcept(Ret (Class::*)(Args...) const); template - static constexpr meta_function_descriptor get_rid_of_noexcept(Ret (Class::*)(Args...)); + static consteval meta_function_descriptor get_rid_of_noexcept(Ret (Class::*)(Args...)); template>> - static constexpr meta_function_descriptor get_rid_of_noexcept(Ret Class::*); + static consteval meta_function_descriptor get_rid_of_noexcept(Ret Class::*); template - static constexpr meta_function_descriptor get_rid_of_noexcept(Ret (*)(Args...)); + static consteval meta_function_descriptor get_rid_of_noexcept(Ret (*)(Args...)); template - static constexpr meta_function_descriptor get_rid_of_noexcept(Class); + static consteval meta_function_descriptor get_rid_of_noexcept(Class); public: /*! @brief The meta function descriptor of the given function. */