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

Small fix to typechecking assert #11

Merged
2 commits merged into from
Mar 9, 2011
Merged

Small fix to typechecking assert #11

2 commits merged into from
Mar 9, 2011

Conversation

fpsunflower
Copy link
Contributor

Here is a small fix we had to do after synchronizing to the latest copy of partio. The assert() in the data() call shouldn't do anything if you ask for data via a void* pointer. The typecheck() template had the void check in the wrong place.

Also included is a little pedantic fix caught by clang 2.9.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant