diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-10 17:42:08 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-10 17:42:08 +0200 |
commit | 2fe8ac085b16eceb2d2e1aae3beb9eb9e02ccd2c (patch) | |
tree | 4097a7696be55a1dd4b31402e99e8b4b3f7f22cf /core/variant/variant_destruct.cpp | |
parent | 15a8e17b8753e721a52a507919043a45d9abdfa4 (diff) | |
parent | 529afd8fbbb411287fe71dc1041bfb8bb56659d5 (diff) |
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
Diffstat (limited to 'core/variant/variant_destruct.cpp')
-rw-r--r-- | core/variant/variant_destruct.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/variant/variant_destruct.cpp b/core/variant/variant_destruct.cpp index ab8303f3ae..5117c33e2b 100644 --- a/core/variant/variant_destruct.cpp +++ b/core/variant/variant_destruct.cpp @@ -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>>(); |