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.
Wrapped(const StringName &)
1 parent fd708f4 commit b192b88Copy full SHA for b192b88
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