Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make LocalVector -> Vector automatic conversion safe for non-trivial types. #100683

Conversation

Ivorforce
Copy link
Member

We can be lucky it hasn't caused problems so far. I've looked through all its uses, and it appears so far it's only been used for trivial types.

@Ivorforce Ivorforce requested a review from a team as a code owner December 21, 2024 02:04
@Ivorforce Ivorforce force-pushed the localvector-vector-conversion-typesafe-copy branch from e87f64f to 16f16f1 Compare December 21, 2024 02:05
@Ivorforce Ivorforce force-pushed the localvector-vector-conversion-typesafe-copy branch from 16f16f1 to 0e32f3b Compare December 21, 2024 09:29
@Chaosus Chaosus added this to the 4.x milestone Dec 21, 2024
Copy link
Member

@hpvb hpvb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hpvb hpvb added the bug label Dec 21, 2024
@hpvb hpvb modified the milestones: 4.x, 4.4 Dec 21, 2024
@akien-mga akien-mga merged commit 31c0777 into godotengine:master Dec 21, 2024
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@Ivorforce Ivorforce deleted the localvector-vector-conversion-typesafe-copy branch December 22, 2024 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants