summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-06-21 09:05:33 -0300
committerGitHub <noreply@github.com>2016-06-21 09:05:33 -0300
commit2009619166e019f5eba4f4e67485011c038807ce (patch)
tree672c4f7b3b262b1c741aa13e15526e38bea0fc63
parent67a29bab74837947fc05a889e573efd86457a88e (diff)
parent912afb129ff1f220a0089dd19d37158736eb3f64 (diff)
Merge pull request #5334 from SaracenOne/explict_return_fix
Make return value explicit
-rw-r--r--scene/main/node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp
index edc97cbf46..11b400d4a9 100644
--- a/scene/main/node.cpp
+++ b/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() {