summaryrefslogtreecommitdiffstats
path: root/core/string/string_name.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-04-25 13:38:08 +0200
committerGitHub <noreply@github.com>2022-04-25 13:38:08 +0200
commit7c7ce7dcd7430d8503d6f74bb49c68892bc31dca (patch)
tree172e5211446f4206d928a76e7eee6e8c706be819 /core/string/string_name.cpp
parent6a9115b983384f5dce341b22268dbc7f4a12f64e (diff)
parent8580f377a3d7d72c319e9e5489bcbe1678ad704b (diff)
downloadredot-engine-7c7ce7dcd7430d8503d6f74bb49c68892bc31dca.tar.gz
Merge pull request #60298 from reduz/scene-unique-paths
Diffstat (limited to 'core/string/string_name.cpp')
-rw-r--r--core/string/string_name.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/string/string_name.cpp b/core/string/string_name.cpp
index 2e941b8037..9c4fc4e1b7 100644
--- a/core/string/string_name.cpp
+++ b/core/string/string_name.cpp
@@ -247,6 +247,7 @@ StringName::StringName(const char *p_name, bool p_static) {
_data->cname = nullptr;
_data->next = _table[idx];
_data->prev = nullptr;
+
#ifdef DEBUG_ENABLED
if (unlikely(debug_stringname)) {
// Keep in memory, force static.