Remove Transfor2/3D,AABB,Basis,RID from Variant destructors given Variant::clear() considers they don't need to be destroyed
This commit is contained in:
parent
4ab3fdcda0
commit
529afd8fbb
2 changed files with 0 additions and 10 deletions
|
@ -41,13 +41,8 @@ static void add_destructor() {
|
|||
|
||||
void Variant::_register_variant_destructors() {
|
||||
add_destructor<VariantDestruct<String>>();
|
||||
add_destructor<VariantDestruct<Transform2D>>();
|
||||
add_destructor<VariantDestruct<::AABB>>();
|
||||
add_destructor<VariantDestruct<Basis>>();
|
||||
add_destructor<VariantDestruct<Transform3D>>();
|
||||
add_destructor<VariantDestruct<StringName>>();
|
||||
add_destructor<VariantDestruct<NodePath>>();
|
||||
add_destructor<VariantDestruct<::RID>>();
|
||||
add_destructor<VariantDestruct<Callable>>();
|
||||
add_destructor<VariantDestruct<Signal>>();
|
||||
add_destructor<VariantDestruct<Dictionary>>();
|
||||
|
|
|
@ -50,13 +50,8 @@ struct VariantDestruct {};
|
|||
}
|
||||
|
||||
MAKE_PTRDESTRUCT(String);
|
||||
MAKE_PTRDESTRUCT(Transform2D);
|
||||
MAKE_PTRDESTRUCT(AABB);
|
||||
MAKE_PTRDESTRUCT(Basis);
|
||||
MAKE_PTRDESTRUCT(Transform3D);
|
||||
MAKE_PTRDESTRUCT(StringName);
|
||||
MAKE_PTRDESTRUCT(NodePath);
|
||||
MAKE_PTRDESTRUCT(RID);
|
||||
MAKE_PTRDESTRUCT(Callable);
|
||||
MAKE_PTRDESTRUCT(Signal);
|
||||
MAKE_PTRDESTRUCT(Dictionary);
|
||||
|
|
Loading…
Reference in a new issue