diff options
Diffstat (limited to 'core/node_path.h')
-rw-r--r-- | core/node_path.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/node_path.h b/core/node_path.h index fb15d017bf..7c06bf01ce 100644 --- a/core/node_path.h +++ b/core/node_path.h @@ -35,9 +35,7 @@ #include "core/ustring.h" class NodePath { - struct Data { - SafeRefCount refcount; Vector<StringName> path; Vector<StringName> subpath; @@ -71,8 +69,9 @@ public: NodePath get_parent() const; _FORCE_INLINE_ uint32_t hash() const { - if (!data) + if (!data) { return 0; + } if (!data->hash_cache_valid) { _update_hash_cache(); } |