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

Incorrect vector initializer #3

Open
huxingyi opened this issue Oct 19, 2018 · 0 comments
Open

Incorrect vector initializer #3

huxingyi opened this issue Oct 19, 2018 · 0 comments

Comments

@huxingyi
Copy link

Hi, very neat library! I am planning to use it in my modeling tool for fbx export.
I found a minor issue of values initializer, for example, here:

FBXProperty::FBXProperty(const std::vector<bool> a) : type('b'), values(a.size()) {

values is been initialized with a size, this will double the size of the vector. These values initializers should be removed.

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

No branches or pull requests

1 participant