소스 검색

meta: minor changes

Michele Caini 3 년 전
부모
커밋
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();
     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 {
 [[nodiscard]] inline meta_type meta_data::arg(const size_type index) const noexcept {
     return index < arity() ? node.arg(index) : meta_type{};
     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 {
 [[nodiscard]] inline meta_type meta_func::arg(const size_type index) const noexcept {
     return index < arity() ? node.arg(index) : meta_type{};
     return index < arity() ? node.arg(index) : meta_type{};
 }
 }