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

Fix crash when iterating empty type #1467

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Conversation

SanderMertens
Copy link
Owner

Summary:
This diff fixes a crash when iterating the type of an entity without components, like here:

flecs::entity e = world.entity();

for (auto id : e.type()) { // crash
}

Differential Revision: D67102905

Summary:
This diff fixes a crash when iterating the type of an entity without components, like here:

```
flecs::entity e = world.entity();

for (auto id : e.type()) { // crash
}
```

Differential Revision: D67102905
@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D67102905

@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D67102905

@facebook-github-bot facebook-github-bot merged commit 188e29e into master Dec 13, 2024
142 of 147 checks passed
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.

2 participants