From 489bf2fbecd8ee0aea9bb48af1f77b185f9e8f3f Mon Sep 17 00:00:00 2001 From: skypjack Date: Thu, 18 Dec 2025 17:28:30 +0100 Subject: [PATCH] meta: more consteval-ness --- src/entt/meta/utility.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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. */