Kaynağa Gözat

meta: minor changes

Michele Caini 3 yıl önce
ebeveyn
işleme
b0fbccdf10
1 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 4 4
      src/entt/meta/meta.hpp

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