From fe8d7d78c4823e8a66a050bf86f5c6318cf76ce7 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Fri, 4 Apr 2025 12:35:12 +0200 Subject: [PATCH] meta: drop unnecessary static keywords --- src/entt/meta/utility.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/entt/meta/utility.hpp b/src/entt/meta/utility.hpp index 5c9213155..5f121cb42 100644 --- a/src/entt/meta/utility.hpp +++ b/src/entt/meta/utility.hpp @@ -248,7 +248,7 @@ template * @return The meta type of the i-th element of the list of arguments. */ template -[[nodiscard]] static meta_type meta_arg(const meta_ctx &ctx, const std::size_t index) noexcept { +[[nodiscard]] meta_type meta_arg(const meta_ctx &ctx, const std::size_t index) noexcept { auto &&context = internal::meta_context::from(ctx); return {ctx, internal::meta_arg_node(context, Type{}, index)}; } @@ -260,7 +260,7 @@ template * @return The meta type of the i-th element of the list of arguments. */ template -[[nodiscard]] static meta_type meta_arg(const std::size_t index) noexcept { +[[nodiscard]] meta_type meta_arg(const std::size_t index) noexcept { return meta_arg(locator::value_or(), index); }