mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-03 18:09:13 +03:00
Take reference in Wrapped(const StringName &)
This commit is contained in:
@@ -66,7 +66,7 @@ void Wrapped::_postinitialize() {
|
||||
}
|
||||
}
|
||||
|
||||
Wrapped::Wrapped(const StringName p_godot_class) {
|
||||
Wrapped::Wrapped(const StringName &p_godot_class) {
|
||||
#ifdef HOT_RELOAD_ENABLED
|
||||
if (unlikely(Wrapped::_constructing_recreate_owner)) {
|
||||
_owner = Wrapped::_constructing_recreate_owner;
|
||||
|
||||
Reference in New Issue
Block a user