Michele Caini 3 лет назад
Родитель
Сommit
b0fbccdf10
1 измененных файлов с 4 добавлено и 4 удалено
  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{};
 }