Merge pull request #64692 from touilleMan/no-variant-destructor-for-struct-builtins
Remove Transform2/3D,AABB,Basis from Variant destructors given they are POD structs
This commit is contained in:
commit
2fe8ac085b
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