You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Moved member variables to initializer list
This commit is contained in:
@@ -139,8 +139,8 @@ void WeakRef::set_ref(const REF &p_ref) {
|
||||
ref = p_ref.is_valid() ? p_ref->get_instance_id() : 0;
|
||||
}
|
||||
|
||||
WeakRef::WeakRef() {
|
||||
ref = 0;
|
||||
WeakRef::WeakRef() :
|
||||
ref(0) {
|
||||
}
|
||||
|
||||
void WeakRef::_bind_methods() {
|
||||
|
||||
Reference in New Issue
Block a user