We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fd708f4 + b192b88 commit 21b7342Copy full SHA for 21b7342
include/godot_cpp/classes/wrapped.hpp
@@ -111,7 +111,7 @@ class Wrapped {
111
112
void _postinitialize();
113
114
- Wrapped(const StringName p_godot_class);
+ Wrapped(const StringName &p_godot_class);
115
Wrapped(GodotObject *p_godot_object);
116
virtual ~Wrapped() {}
117
src/classes/wrapped.cpp
@@ -66,7 +66,7 @@ void Wrapped::_postinitialize() {
66
}
67
68
69
-Wrapped::Wrapped(const StringName p_godot_class) {
+Wrapped::Wrapped(const StringName &p_godot_class) {
70
#ifdef HOT_RELOAD_ENABLED
71
if (unlikely(Wrapped::_constructing_recreate_owner)) {
72
_owner = Wrapped::_constructing_recreate_owner;
0 commit comments