You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Remove unused initialize_ref
This commit is contained in:
@@ -1072,13 +1072,6 @@ bool Variant::is_null() const {
|
||||
}
|
||||
}
|
||||
|
||||
bool Variant::initialize_ref(Object *p_object) {
|
||||
RefCounted *ref_counted = const_cast<RefCounted *>(static_cast<const RefCounted *>(p_object));
|
||||
if (!ref_counted->init_ref()) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
void Variant::reference(const Variant &p_variant) {
|
||||
switch (type) {
|
||||
case NIL:
|
||||
|
||||
Reference in New Issue
Block a user