Skip to content

Commit

Permalink
Merge pull request #80792 from Repiteo/typed-array-undef
Browse files Browse the repository at this point in the history
Undefine `typed_array.h` templates after use
  • Loading branch information
akien-mga committed Aug 21, 2023
2 parents 90e96e0 + c82bdef commit ab1d97f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/variant/typed_array.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,4 +230,7 @@ MAKE_TYPED_ARRAY_INFO(Vector<Vector3>, Variant::PACKED_VECTOR3_ARRAY)
MAKE_TYPED_ARRAY_INFO(Vector<Color>, Variant::PACKED_COLOR_ARRAY)
MAKE_TYPED_ARRAY_INFO(IPAddress, Variant::STRING)

#undef MAKE_TYPED_ARRAY
#undef MAKE_TYPED_ARRAY_INFO

#endif // TYPED_ARRAY_H

0 comments on commit ab1d97f

Please sign in to comment.