From b0fbccdf10ba90bec1f8243d6301c1574dcec2d3 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Thu, 15 Sep 2022 10:20:29 +0200 Subject: [PATCH] meta: minor changes --- src/entt/meta/meta.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/entt/meta/meta.hpp b/src/entt/meta/meta.hpp index e22f95280..b25f621e8 100644 --- a/src/entt/meta/meta.hpp +++ b/src/entt/meta/meta.hpp @@ -1477,14 +1477,14 @@ inline bool meta_any::assign(meta_any &&other) { return node.type(); } -[[nodiscard]] inline meta_type meta_func::ret() const noexcept { - return node.ret(); -} - [[nodiscard]] inline meta_type meta_data::arg(const size_type index) const noexcept { return index < arity() ? node.arg(index) : meta_type{}; } +[[nodiscard]] inline meta_type meta_func::ret() const noexcept { + return node.ret(); +} + [[nodiscard]] inline meta_type meta_func::arg(const size_type index) const noexcept { return index < arity() ? node.arg(index) : meta_type{}; }