summaryrefslogtreecommitdiffstats
path: root/scene/scene_string_names.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/scene_string_names.h')
-rw-r--r--scene/scene_string_names.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/scene_string_names.h b/scene/scene_string_names.h
index 60254e3006..0e3a2a403e 100644
--- a/scene/scene_string_names.h
+++ b/scene/scene_string_names.h
@@ -198,7 +198,7 @@ public:
NodePath path_pp;
- StringName _default;
+ StringName default_; // "default", conflict with C++ keyword.
StringName node_configuration_warning_changed;
@@ -224,4 +224,6 @@ public:
#endif
};
+#define SceneStringName(m_name) SceneStringNames::get_singleton()->m_name
+
#endif // SCENE_STRING_NAMES_H