From 0e15186d42eaaa498f5063fa5d31091b19da8a58 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Tue, 21 Jan 2025 10:54:34 +0100 Subject: [PATCH] meta: drop redundant inline --- src/entt/meta/meta.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/entt/meta/meta.hpp b/src/entt/meta/meta.hpp index be4c834ff..9c104b4af 100644 --- a/src/entt/meta/meta.hpp +++ b/src/entt/meta/meta.hpp @@ -1284,7 +1284,7 @@ public: * @brief Returns a tag for the class template of the underlying type. * @return The tag for the class template of the underlying type. */ - [[nodiscard]] inline meta_type template_type() const noexcept { + [[nodiscard]] meta_type template_type() const noexcept { return (node.templ.resolve != nullptr) ? meta_type{*ctx, node.templ.resolve(internal::meta_context::from(*ctx))} : meta_type{}; } @@ -1293,7 +1293,7 @@ public: * @param index Index of the template argument of which to return the type. * @return The type of the i-th template argument of a type. */ - [[nodiscard]] inline meta_type template_arg(const size_type index) const noexcept { + [[nodiscard]] meta_type template_arg(const size_type index) const noexcept { return index < template_arity() ? meta_type{*ctx, node.templ.arg(internal::meta_context::from(*ctx), index)} : meta_type{}; }