소스 검색

Merge pull request #5334 from SaracenOne/explict_return_fix

Make return value explicit
Juan Linietsky 9 년 전
부모
커밋
2009619166
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scene/main/node.cpp

+ 1 - 1
scene/main/node.cpp

@@ -2082,7 +2082,7 @@ void Node::update_configuration_warning() {
 }
 
 bool Node::is_owned_by_parent() const {
-	data.parent_owned;
+	return data.parent_owned;
 }
 
 void Node::_bind_methods() {