From c82bdef2fcc429215d7dbc55955f423c727ed8e1 Mon Sep 17 00:00:00 2001 From: Thaddeus Crews Date: Sat, 19 Aug 2023 12:30:43 -0500 Subject: [PATCH] Undefine typed array templates after use --- core/variant/typed_array.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/variant/typed_array.h b/core/variant/typed_array.h index 98afc7e717f..055c52aa63e 100644 --- a/core/variant/typed_array.h +++ b/core/variant/typed_array.h @@ -230,4 +230,7 @@ MAKE_TYPED_ARRAY_INFO(Vector, Variant::PACKED_VECTOR3_ARRAY) MAKE_TYPED_ARRAY_INFO(Vector, Variant::PACKED_COLOR_ARRAY) MAKE_TYPED_ARRAY_INFO(IPAddress, Variant::STRING) +#undef MAKE_TYPED_ARRAY +#undef MAKE_TYPED_ARRAY_INFO + #endif // TYPED_ARRAY_H