summaryrefslogtreecommitdiff
path: root/core/variant/variant_destruct.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-10 17:42:08 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-10 17:42:08 +0200
commit2fe8ac085b16eceb2d2e1aae3beb9eb9e02ccd2c (patch)
tree4097a7696be55a1dd4b31402e99e8b4b3f7f22cf /core/variant/variant_destruct.cpp
parent15a8e17b8753e721a52a507919043a45d9abdfa4 (diff)
parent529afd8fbbb411287fe71dc1041bfb8bb56659d5 (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.cpp5
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>>();