Moved member variables to initializer list
This commit is contained in:
parent
41d1dba35f
commit
08f22f1cf0
44 changed files with 609 additions and 694 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue