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{}; }