From 536ea8561e00b8d6183ddc522476dd232c1d3bef Mon Sep 17 00:00:00 2001 From: David Snopek Date: Fri, 6 Sep 2024 17:24:07 -0500 Subject: Allow unicode class names --- include/godot_cpp/classes/wrapped.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/godot_cpp') diff --git a/include/godot_cpp/classes/wrapped.hpp b/include/godot_cpp/classes/wrapped.hpp index 0ffd783..3f0d1e2 100644 --- a/include/godot_cpp/classes/wrapped.hpp +++ b/include/godot_cpp/classes/wrapped.hpp @@ -250,7 +250,7 @@ public: } \ \ static const ::godot::StringName &get_class_static() { \ - static const ::godot::StringName string_name = ::godot::StringName(#m_class); \ + static const ::godot::StringName string_name = ::godot::StringName(U## #m_class); \ return string_name; \ } \ \ -- cgit v1.2.3